So, microservices are not the same as bounded contexts

July 18 · 2 mins read

I heard someone in the past who said that the Building Microservices book is the “DDD: The good parts” version of the Domain Driven Design book of Eric Evans (please note that none of these book have I read yet :smile:). That statement, later on, I interpreted it to mean that microservices are the same as bounded contexts.

But a few days ago, as I was watching an interview of Uncle Bob Martin — “A Path to Better Programming • Robert “Uncle Bob” Martin & Allen Holub • GOTO 2021” — the interviewer, Allen Holub, made a statement which implies that microservices are not the same as bounded contexts! (in time 5:00 in the video)

— Of all the good things in that video, this is the one you remember most? —

Uhuh!

I don’t really know that much about microservices or bounded contexts. But because microservices seems hyped these days, those words coming out from master programmers, who have lots of skills and experience in software development, are very valuable — needs to be put in storage for future reference.

“Bounded Contexts are NOT Microservices” by Vladik Khononov

“Tackling Complexity in Microservices” by Vladik Khononov

“Bounded Contexts, Microservices, and Everything In Between - Vladik Khononov - KanDDDinsky 2018”

(You might also want to put in here the new definition for single responsibility principle.)

“The Single Responsibility Principle” by Uncle Bob Martin

“Single Responsibility Principle – do you know the real one?” by Bartosz Jedrzejewski