Speaking of “Could we build a stateful application without a database?“, there is an interesting presentation on this topic or better 2 versions of it: