Resulting context
The primary benefit of this solution is that it provides proper bulkheads between components to make downstream components resilient to failures in upstream components. If an upstream becomes unavailable then it will have zero impact on downstream components. Queries will continue to return results from the materialized views. If an upstream component deploys a bug that produces invalid events, then the Stream Circuit Breaker pattern will handle these faults and the materialized views will continue to return the last known values. The data will eventually become consistent once the issue is resolved.
Materialized views are highly responsive. They are tuned to exactly the needs of the component and deployed using the most ...
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