Pros and cons of the shared data pattern

The shared data pattern is liked by many as an anti-pattern, but seen by others as an old concept that should no longer be applied. However, there is considerable distance between the ideal world and the real world.

In the ideal world, all projects are greenfields and nobody needs to work on legacy code or change the architecture of a monolithic application. However, the reality is not that. Legacy projects are now serving users. These applications are online stores, financial applications, social networks, and a myriad of businesses that require upgrading to achieve automation, scalability, and resilience.

The shared data pattern search just speeds up the process of change for these legacy applications. ...

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.