Grokking Microservices for System Design Interviews

0% completed

How Big Should a Service Be?

1. The Wrong Question, Asked Constantly

"How big should a microservice be?" comes up in interviews constantly. It gets asked precisely because it has no numeric answer, and interviewers want to watch you handle that. Some candidates give a size anyway: "a few hundred lines," "two weeks to rewrite," "one entity." Those answers reveal a wrong belief about what the word micro measures. Micro measures responsibility, not code.

The right size comes from two constraints, one from each direction:

  • Lower bound: a service must be able to do its job on its own data

.....

.....

.....

Like the course? Get enrolled and start learning!