Keep it simple

The more complex the pattern, the simpler the implementation should be. An overly varied and robust stack further contributes to increasing the cost of maintaining, understanding, and learning about an application.

In a pattern like the branch design pattern, maintaining simplicity is directly related to reducing the cost of implementing new features. Obviously, reducing complexity does not mean making the business of the domain impossible to adopt the pattern. This is about making assertive choices, and not thinking about the possibility that is not properly validated.

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.