img
Home > Design Patterns > Stateful Services

Stateful Services (Erl)

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

Stateful Services

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.

Module 7: Advanced SOA Design & Architecture with Services & Microservices

This pattern is covered in SOACP Module 7: Advanced SOA Design & Architecture with Services & Microservices.

For more information regarding the SOA Certified Pofessional (SOACP) curriculum,
visit www.arcitura.com/soa.

SOA Design Patterns

This page contains excerpts from:

SOA Design Patterns by Thomas Erl

(ISBN: 0136135161, Hardcover, Full-Color, 400+ Illustrations, 865 pages)

For more information about this book, visit www.arcitura.com/books.