Storage sharing anti-pattern

The shared data pattern is definitely an anti-pattern for green projects and, as such, should not be seen as a final solution, even if it is for legacy projects. In the previous chapter, we saw the consequences of depositing too much responsibility on a physical component.

The ideal situation is to always seek an elegant solution for data sharing. Improvements in communication between microservices, specialization of endpoints to receive all necessary information for business, and system message queues are only a few options with regards to the sharing of information.

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.