Execute the app as one or more stateless processes. This is also a well-known pattern, since the mid-1990s, at least. Client code shouldn't build up a lot of states. This gives several advantages, notably scaling up if necessary due to high demand.
Factor 6 – processes
Get Practical DevOps - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.