When I wrote Patterns of Enterprise Application Architecture, I coined what I called the First Law of Distributed Object Design: "don't distribute your objects". In recent months there's been a lot of interest in microservices, which has led a few people to ask whether microservices are in contravention to this law, and if so why I am in favor of them? It's important to note that in this first law
![Microservices and the First Law of Distributed Objects](https://cdn-ak-scissors.b.st-hatena.com/image/square/ab71c111dc897b4e799bf981235b1659e5ab04b9/height=288;version=1;width=512/https%3A%2F%2Fmartinfowler.com%2Farticles%2Fimages%2Fdistributed-objects-microservices%2Flocal-remote.png)