TechPartner

← Back to Blog
System Design course for beginners — scale systems from 1 to 1M users · Part 2 / 10

Monolith system design (2/10): Single-server MVP architecture

MVP system design: monolith, Nginx, single PostgreSQL—URL shortener API, SQL schema, redirect flow, failure modes before scaling.

· 1 min read

System Design course for beginners — scale systems from 1 to 1M users · Part 2/10
  1. 1Metrics & CAP foundations
  2. 2Single-server monolith
  3. 3DB split & ops
  4. 4Redis + CDN
  5. 5Read replicas
  6. 6Load balancing
  7. 7Message queues
  8. 8Sharding & regions
  9. 9Interview cheat sheet
  10. 10ShortLink capstone
Table of contents
  1. Architecture
  2. API & schema
  3. Failure modes
UserNginx + MonolithPostgreSQL (1 máy)Single point of failure — chấp nhận được ở giai đoạn MVP
Single-user stage: monolith and database sharing one resource footprint.

Part 2/10 · Part 1 · Part 3

Architecture

User → Nginx → Monolith → PostgreSQL (+ local logs).

API & schema

POST /api/links, GET /:slug redirect, simple short_links table with indexed slug.

Failure modes

Single point of failure, deploy downtime, no backups, no rate limits — fixed in later parts.


Series navigation: ← Part 1 · Part 3 →

Frequently asked questions

Does monolith mean one source file?

No — it means one deployable unit, not a single file.

Does your startup need a tech partner?

Free chat about MVP, timeline, and the right profit-sharing approach.