diff options
| author | eunhhu <[email protected]> | 2026-10-04 10:37:44 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-04 10:37:44 +0100 |
| commit | 420b749742badd26daf2474e9f157af17be2907f (patch) | |
| tree | fddb58750b9a0279ac6dd96e86ef59f01dbfcce9 /prototypes/connections/compile-program.c | |
| parent | 93261d1c157e50f1ed2bbc14cf68f2822553b69c (diff) | |
| download | pure-420b749742badd26daf2474e9f157af17be2907f.tar.gz pure-420b749742badd26daf2474e9f157af17be2907f.zip | |
Change a running app in place, its states kept in memory (017, stage 3)
Stopping an app and starting it again reads its whole store again: a
million items took 142 ms, as long as restarting the host (030). A
running app whose line changed but not its store now goes quiet (what it
took applied, saved and answered, its batches back, its outlets closed,
its checkpoint finished), has its module replaced in memory
(pure_app_replace carries its states, and the sends in its outbox, by
name), its budgets set and its outlets made anew, and resumes; a module
its states do not go into stops it. An app whose store changed, one a
save of which is uncertain, and one that does not run still start from
their stores. A reading says changed for the first. A snapshot is
published again when the module changed though the states did not.
server_apps_lifecycle reads the changing apps' views (lists among them)
as they change, and moves an app's store; it passed 10 times alone, 5
under load and 6 with an ASan pure-serve.
Diffstat (limited to 'prototypes/connections/compile-program.c')
0 files changed, 0 insertions, 0 deletions
