Home > Design Patterns > Stateful Services
Stateful Services

Stateful Services (Erl)

How can service state data be persisted and managed without consuming service runtime resources?

Problem

State data associated with a particular service activity can impose a great deal of runtime state management responsibility upon service compositions, thereby reducing their scalability.

Solution

State data is managed and stored by intentionally stateful utility services.

Application

Stateful utility services provide in-memory state data storage and/or can maintain service activity context data.

Impacts

If not properly implemented, stateful utility services can become a performance bottleneck.

Architecture

Inventory, Service
Stateful Services: With the use of stateful utility services, state management responsibilities are deferred.

With the use of stateful utility services, state management responsibilities are deferred.