Summary
In this chapter, we discussed the boundary patterns of reactive, cloud-native systems. Although we focus on asynchronous, event-driven inter-component communication, we ultimately need to implement synchronous communication at the boundaries where the system interacts with humans and external systems. The API Gateway pattern provides a secure and scalable foundation for synchronous communication. With the CQRS pattern, we leverage materialized views to decouple upstream dependencies in order to make the synchronous communication responsive, resilient, and elastic. The offline-first database pattern allows some synchronous interactions to operate locally by storing event and materialized view data in local storage and synchronizing ...
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