medium.com 8 min read Original Source

Microservices are Dead: Long Live the Modular Monolith

The Cost of Network Boundaries

A function call in a monolithic application executes in 2 nanoseconds. The exact same call over a microservice network boundary requires TCP handshakes, TLS negotiation, serialization, deserialization, and HTTP routing—consuming 20 milliseconds.