Best practice for a stateful action per user

Hello,

What are best practices to have a stateful action that stores information, at least for one session.

For illustration, suppose I wanted to run the TODO app from the quickstart in production:

with each user being isolated from one another.

Thank you for any suggestions. Best wishes, ~n