← BYTES
System Design·Starter·Ref: 18.1.8

What is the main tradeoff typically associated with a monolithic architecture compared to microservices?

Have a question about this video? Mention reference 18.1.8 when you contact us.

a.A monolith is simpler to develop, test, and deploy as one unit, but becomes harder to scale/deploy independently and can let unrelated parts of the codebase become tightly coupled as it grows; microservices trade that simplicity for independent scaling/deployment at the cost of operational complexity (network calls, service coordination)
b.Monoliths are always strictly worse in every dimension
c.Microservices always run faster than monoliths with no exceptions
d.A monolith can only ever be deployed on a single physical server
A monolith's single-codebase, single-deployment-unit nature makes early development and deployment simple, but as it grows, unrelated features can become entangled and the whole thing must be deployed/scaled together even if only one part needs more capacity. Microservices split functionality into independently deployable/scalable units, at the real cost of needing to manage network communication, service discovery, and coordination between services that didn't exist within a single process.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES1818#SystemDesign