QamoosTech
Architecture & DesignPatternsIntermediate

Monolith vs Microservices

PronunciationMON-oh-lith versus MY-kroh-SER-vis-iz

Definition

A monolith is one application deployed as a single unit. Microservices split it into many small services that talk to each other.

Where you hear it

Architecture discussions and interviews.

Examples

  • We started with a monolith because the team is small.
  • Microservices add network calls, so debugging is harder.
  • The monolith is deployed once a week, while each microservice can be deployed on its own schedule.

Common mistake

Choosing microservices too early. For small teams a well-organized monolith is usually simpler and faster.

Say it at work

  • In a meeting or chatLet's discuss if this feature should live in our monolith or as a separate microservice.
  • In an email or ticketMoving from a monolith to microservices will help us scale this specific module independently.