Partial State Deferral (Erl)
How can services be designed to optimize resource consumption while still remaining stateful?
Service capabilities may be required to store and manage large amounts of state data, resulting in increased memory consumption and reduced scalability.
Even when services are required to remain stateful, a subset of their state data can be temporarily deferred.
Various state management deferral options exist, depending on the surrounding architecture.
Partial state management deferral can add to design complexity and bind a service to the architecture.
Applying this pattern results in the same amount of concurrent service instances but less overall state-related memory consumption.