Divya Surendran    About    Archive    Feed

Monoliths to Microservices

What are Microservices?

The main idea in the book is around making cross-service changes as infrequently as possible. This ensures you don’t need to make changes to two servies to roll out a feature, and orchestrate the deployment of these two changes. It takes less work in making changes inside single service (monolith) than rolling out changes in two services.

key points to note:

_High cohesion of Business Functionality rather than technology_ _Dont share database unless you really have to. It breaks the independent deployablity_ _Where appropriate encapsulate UI, application logic and data storage as we want our service as end-to-end slices of business functionality_

Advantage of Microservices

What Problems they create?

Reference