jdecool/scaleway-runtimepublic Fork
⑂ ci/rickub
Commits
⬇ Clone ▾
git clone https://git.rickub.com/jdecool/scaleway-runtime.git
git clone ssh://git@rickub.com/jdecool/scaleway-runtime.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
docs: add glossary, ADRs and implementation plan eab3ea1Unverified · on ci/rickub · Jérémy DECOOL · 11d ago
0002-reuse-application-across-invocations.md · 8 lines · 542 Bmarkdown
Blame HistoryOpen raw

The Application is booted once per Warm Process and reset between Invocations

Rebuilding the Kernel on every Invocation makes every call pay the cold-start cost.
We boot the Application once per process and call terminate() plus the services_resetter between Invocations, like FrankenPHP worker mode or RoadRunner; if Scaleway does not keep processes warm, this degrades to a fresh boot per Invocation.

Consequences

Applications must be safe for long-running execution (no request state kept in services that are not resettable).

1
2
3
4
5
6
7
8
# The Application is booted once per Warm Process and reset between Invocations

Rebuilding the Kernel on every Invocation makes every call pay the cold-start cost.
We boot the Application once per process and call `terminate()` plus the `services_resetter` between Invocations, like FrankenPHP worker mode or RoadRunner; if Scaleway does not keep processes warm, this degrades to a fresh boot per Invocation.

## Consequences

Applications must be safe for long-running execution (no request state kept in services that are not resettable).