Software Architecture Patterns, Antipatterns, and Pitfalls
by Mark Richards, Neal Ford, Raju Gandhi
Chapter 11. Front Controller Pattern
The Front Controller pattern (alternatively known as “Front Orchestrator”) provides a way to add workflow state to choreographed workflows by adding it to the first-called service or event processor. This is a specialized version of the Externalized State Pattern (see Chapter 10).
The Front Controller metadata appears in Table 11-1.
| CATEGORY | METADATA |
|---|---|
CONTEXT: |
Event-Driven Architecture, Message-Based Architectures, Microservices, Workflow |
IMPROVED: |
Data Consistency, Data Integrity, Debuggability, Error Handling, Evolvability, Testability, Workflow |
DEGRADED: |
Availability, Domain Alignment, Fault Tolerance |
How Do I Handle Mediation without an Orchestrator?
Many architects like the Choreography pattern for distributed architectures (see [Link to Come]) because it maps nicely to event-driven workflows. However, a common need architects have in those situations is to query the state of the workflow. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access