Notes on Building Microservices by Sam Newman
Chapter 3 notes. How to model services. What makes a good service: loose coupling high cohesion Loose coupling means a change to one service should not require a change in another service. Tight coupling might means “chatty” communication, or wrong integration style was chosen that binds services tightly. High cohesion — we want related behavior to be in the same service, and unrelated behavior to live in another service. Bounded context helps with those two aspects of a good service. Todo: to learn more about bounded context. ...