Skip to content

How to handle state in a cloud native environment #10

Answered by samwillis
Vad1mo asked this question in Q&A
Discussion options

You must be logged in to vote

Tetra is prefect for that sort of deployment as although the components are "statefull", that state is not persisted on the server. They are actually "paused", serialised with Pickle (Pythons built in serialization api), encrypted+signed (for security), and that is then sent to the browser. The browser then sends the encrypted state back to the server each time it calls a public method, receiving an updated encrypted state in return. No state is persisted on the server at all - perfect for multi server deployments or "serverless".

You can read details of how it works here: https://www.tetraframework.com/docs/state-security

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Vad1mo
Comment options

@jaycle
Comment options

Answer selected by Vad1mo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants