Chapter 3. Messages

This chapter covers

  • Using messages as the key to designing microservice architectures
  • Deciding when to go synchronous, and when to go asynchronous
  • Pattern matching and transport independence
  • Examining patterns for microservice message interactions
  • Understanding failure modes of microservice interactions

The term microservices invites you to think in terms of services. You’ll naturally be drawn to ask, “What are the microservices in this system?” Resist that temptation. Microservice systems are powerful because they allow you to think in terms of messages. If you take a messages-first approach to your system design, you free yourself from premature implementation decisions. The intended behavior of the system can be ...

Get The Tao of Microservices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.