System design for mobile backends: what matters at a few thousand users
Most system design advice targets huge services like Twitter, which is of little use to a backend serving a few thousand users. At that scale, the decisions that matter most are the API contract with the app, safe retries and offline sync, a sensible relational data model, and basic caching, background jobs and monitoring. The author argues that sharding, multi-region deployments and microservices can wait until measured load requires them, since one well-run server with a well-maintained PostgreSQL database can handle a lot. A back-of-envelope estimate shows that 10,000 daily active users making 100 calls each averages about 12 requests per second, peaking near 60. The author recommends prioritising the API, idempotent writes and data model, which are costly to change once apps ship, and using existing databases for job queues before adding Redis or Kafka.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in