Skip to content

Sam Newman Building Microservices book

sullis edited this page Oct 21, 2019 · 5 revisions

Sam Newman

(book)

Building Microservices

1st edition (2015)

"When services are loosely coupled, a change in one service should not require a change to another."

"Shared libraries do have their place"

"You do need to be careful. Shared code used to communicate between services can become a point of coupling."

"Services can and should make heavy use of third-party libraries to reuse common code."

"We might use client libraries to make it easy for consumers, but this can come at the cost of increased coupling."

"We don't want our consumers bound to our internal implementation."

"One of the things we want to avoid at all costs is overly coupling a microservice and consumers"

"If your use of shared code ever leaks outside your service boundary, you have introduced a potential form of coupling"