Pros and cons of the branch design pattern

The branch design pattern is complex, but at the same time, it is very useful and flexible. Understanding the operation and when to apply this pattern is fundamental for preventing future problems.

Some examples of the good points that the pattern offers us are:

  • The flexibility of implementation
  • Independent scalability
  • Encapsulation of access to microservices
  • Compositional ability and orchestration

However, we must also understand some negative points of the pattern:

  • The possibility of latency points
  • The difficulty in understanding data ownership
  • The difficulty of debugging

The initial complexity of the branch design pattern may scare you a bit. However, the range of possibilities from both a ...

Get Microservice Patterns and Best Practices 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.