3 ms·
I'd take a stronger line than this. Microservice architectures scale worse than monoliths. Because with a monolith, you can just do this: http://paulhammant.co
by twic 11y ago
I'd take a stronger line than this. Microservice architectures scale worse than monoliths. Because with a monolith, you can just do this:
http://paulhammant.com/2011/11/29/cookie-cutter-scaling/ http://paulhammant.com/2011/11/29/cookie-cutter-scaling/
Moreover, unless you're doing something intrinsically computationally expensive (video transcoding or whatever), or you've screwed up, your bottleneck will be in the database anyway. Scaling the database looks exactly the same for monoliths and microservices: you can scale up, scale out, or split.
- cpitman 11y agoIt is slightly different, in that it is already a sharded database compared to what the monolith would have.
- twic 11y agoIf you've built your microservices on top of multiple databases, then you could have built the same features in a monolith on top of multiple databases. What helped scaling is splitting the database, not splitting the application.