3 ms·
The "genesis" (perhaps) of the current rise of microservices might be the Yegge Platform rant and the 2 Pizza rule https://plus.google.com/+RipRowan/posts/eVeo
by MattRogish 11y ago
The "genesis" (perhaps) of the current rise of microservices might be the Yegge Platform rant and the 2 Pizza rule
https://plus.google.com/+RipRowan/posts/eVeouesvaVX https://plus.google.com/+RipRowan/posts/eVeouesvaVX
http://www.businessinsider.com/jeff-bezos-two-pizza-rule-for-productive-meetings-2013-10 http://www.businessinsider.com/jeff-bezos-two-pizza-rule-for...
Wherein he describes Dread Pirate Bezos' edict:
His Big Mandate went something along these lines:
1) All teams will henceforth expose their data and functionality through service interfaces.
2) Teams must communicate with each other through these interfaces.
3) There will be no other form of interprocess communication allowed: no direct linking, no direct reads of another team's data store, no shared-memory model, no back-doors whatsoever. The only communication allowed is via service interface calls over the network.
4) It doesn't matter what technology they use. HTTP, Corba, Pubsub, custom protocols -- doesn't matter. Bezos doesn't care.
5) All service interfaces, without exception, must be designed from the ground up to be externalizable. That is to say, the team must plan and design to be able to expose the interface to developers in the outside world. No exceptions.
6) Anyone who doesn't do this will be fired.
and
Amazon's Jeff Bezos has a solution for this problem. He calls it the "two pizza rule": Never have a meeting where two pizzas couldn't feed the entire group.
You'll note that nothing in there has to do with technical debt, or unmaintainability of apps, or test suite runtimes, or monoliths, or docker, or any sort of technical problems. Microservices are a technical solution to an organizational scalability / coupling problem.
All too often I see small, co-located teams (<10 people) adopting a microservice architecture because #reasons which are ill-defined.
Docker is awesome, microservices are awesome, but they come with a lot of taxes to pay, and tl;dr - until you know you need to pay those taxes, you should stick with a monolith.