SOA Patterns > Service Messaging Patterns > Service Agent
Service Agent (Erl)
How can event-driven logic be separated and governed independently?
Problem
Service compositions can become large and inefficient, especially when required to invoke granular capabilities across multiple services.
Solution
Event-driven logic can be deferred to event-driven programs that don’t require explicit invocation, thereby reducing the size and performance strain of service compositions.
Application
Service agents can be designed to automatically respond to predefined conditions without invocation via a published contract.
Impacts
The complexity of composition logic increases when it is distributed across services, and event-driven agents and reliance on service agents can further tie an inventory architecture to proprietary vendor technology.
Principles
Architecture
Inventory, Composition
Related Patterns in This Catalog
Asynchronous Queuing, Atomic Service Transaction, Canonical Resources, Exception Shielding, Intermediate Routing, Message Screening, Messaging Metadata, Partial State Deferral, Partial Validation, Service Messaging, State Repository, UI Mediator, Utility Abstraction, Validation Abstraction
Related Patterns in Other Catalogs
Related Service-Oriented Computing Goals