SOA Patterns > Inventory Implementation Patterns > 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.
Principles
Architecture
Inventory, Service
With the use of stateful utility services, state management responsibilities are deferred.
Related Patterns in This Catalog
Logic Centralization, Messaging Metadata, Partial State Deferral, Service Grid, Service Messaging, State Messaging, State Repository, Utility Abstraction
Related Patterns in Other Catalogs
Related Service-Oriented Computing Goals
Increased Intrinsic Interoperability, Increased ROI, Reduced IT Burden