Open sherodtaylor opened 1 month ago
Copying a response from Discord, in case others are also interested:
This will be difficult since not everything is serializable so can’t be stateless. These are running programs that inherently have state. Even if we made marimo stateless, your code may not be (e.g threads, db connections, etc)
I think a better request would be a load balancer that can manage multiple instances.
Based on what you know about marimo, if you have suggestions on how marimo might one day support stateless execution, we're open to hearing them.
Description
I have a custom kubernetes deployment that requires stateless applications which has been a standard for a long time.
Suggested solution
I'd like to be able to deploy the app and any state necessary be offloaded to redis or refactoring to support stateless applications which have been a standard for a long time i.e. 12 factor apps
Alternative
Our internal kubernetes system doesn't support sticky sessions.
Additional context
error received: