Revisiting the Fundamentals
In Unmasking the Monolith, we made the claim that the defining characteristic of a service-based architecture is autonomy. Autonomous components handle all of their communication through the Message Store. They receive commands, and sometimes events, and write new events in response. They have only this one execution mode. This is a subtle point with a profound implication.
How can an autonomous component tell the difference between running in a production environment and running in a test harness? Give up? It’s a trick question. It can’t. It has absolutely no idea if a message is coming from a live system or if it’s coming from a test. It’s kind of like the classic philosophical question of how we can’t really ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access