3 ms·
I have had thinkings on how efficient Micro services are compared to a Monolith. In a micro service architecture, the request bounces through different service
by acd 8y ago
I have had thinkings on how efficient Micro services are compared to a Monolith.
In a micro service architecture, the request bounces through different service layers, json serialization, network transfers.
In a monthlith normal application, especially if its on one machine, the request touches main memory and then CPU cache.
Latency Numbers Every Programmer Should Know, I especially think of the Send 1K bytes over 1 Gbps network vs cache latency of microservices/monolith.
https://gist.github.com/jboner/2841832 https://gist.github.com/jboner/2841832
Ie instead of micro services 10000 ns for a network transfer you could fetch within 10ns from CPU cache in a monolith, that is 1000 times more efficient.
Are we beyond the peak of inflated expectations on Micro services and towards the Plateau of productivity?
https://en.wikipedia.org/wiki/Hype_cycle https://en.wikipedia.org/wiki/Hype_cycle