Describe the problem
From the docs, in particular the part about $app/stores, it is not clear how we can deploy Sveltekit in multi-node environments such as Kubernetes.
With express I would store session data on a database, single instance or replicated and get always the session from there. Hence, I can scale express indefinitely since it stays stateless. Is this also possible with SvelteKit? Meaning Svelte's session store would always get the session data from a db before it answers the request?
A simple chart of such an architecture:

The problem behind: Even if some cluster orchestration software allows to create sticky sessions, so requests hit the same node, it is not always possible to solve this problem on the cluster layer (e.g., when using BGP, autoscaling down, etc.) and it's in general more complicated than just storing the sessions on the db if latter is fast.
Describe the proposed solution
A paragraph in the docs stating if deploying to a multi-node cluster is possible and/or what trade-offs would be encountered (assuming the cluster layer does not offer sticky sessions).
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
Describe the problem
From the docs, in particular the part about
$app/stores, it is not clear how we can deploy Sveltekit in multi-node environments such as Kubernetes.With express I would store session data on a database, single instance or replicated and get always the session from there. Hence, I can scale express indefinitely since it stays stateless. Is this also possible with SvelteKit? Meaning Svelte's session store would always get the session data from a db before it answers the request?
A simple chart of such an architecture:
The problem behind: Even if some cluster orchestration software allows to create sticky sessions, so requests hit the same node, it is not always possible to solve this problem on the cluster layer (e.g., when using BGP, autoscaling down, etc.) and it's in general more complicated than just storing the sessions on the db if latter is fast.
Describe the proposed solution
A paragraph in the docs stating if deploying to a multi-node cluster is possible and/or what trade-offs would be encountered (assuming the cluster layer does not offer sticky sessions).
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response