SYSTEM-DESIGN COURSE GUIDE

System Design: APIs, Databases, and Infrastructure

A chapter-by-chapter readback of the free course by Hayk Simonyan on freeCodeCamp.org.

Length2:05:22
Chapters10
Modules3
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

Rather than starting with a complex architecture, the course builds from a single server and introduces scaling choices as system needs grow. It connects those trade-offs to practical API design and protocol selection.

Who it's for
Read this guide if
  • You are moving from implementation work toward architectural decisions.
  • You want a practical introduction to SQL versus NoSQL and scaling strategies.
  • You are reviewing REST, GraphQL, gRPC, HTTP, WebSockets, TCP, and UDP.
Skip ahead if
  • You need a hands-on coding tutorial with exercises and source code.
  • You already know these infrastructure and API fundamentals in depth.
  • You need a complete chapter-by-chapter guide to the entire video; the supplied transcript points end at 1:20:21.
In brief
  • Runtime: 7,522 seconds (2 hours, 5 minutes, 22 seconds).
  • Chapter guide: 10 chapters across 3 thematic modules, based on supplied transcript points.
  • Examples and technologies mentioned include PostgreSQL, MySQL, MongoDB, Redis, Nginx, AWS, REST, GraphQL, gRPC, WebSockets, and AMQP.
  • Level: foundational to intermediate system-design concepts, with architectural trade-offs emphasized.
  • Opening topics include database selection, scaling and load balancing, API design, and application and transport protocols.

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

System foundations and scaling

0:00

Start with a simple system

The course frames system design as making architectural choices amid imperfect requirements. It begins with a single server and follows a request from DNS resolution through HTTP to web or mobile responses.

7:00

Relational and NoSQL data models

The lesson contrasts relational tables and joins with NoSQL approaches suited to flexible or large-scale data. It introduces ACID properties and distinguishes document, wide-column, graph, and key-value stores.

13:32

Scaling and load-balancer strategies

Vertical scaling adds resources to one machine, while horizontal scaling adds servers behind a load balancer. The course compares routing methods such as round robin, least connections, response time, IP hash, weighted routing, geographic routing, and consistent hashing.

24:07

Health checks and resilient infrastructure

Health checks can remove an unhealthy server from traffic, while redundant load balancers help avoid a single point of failure. The discussion also introduces monitoring and self-healing replacement of failed instances.

API design and communication choices

31:00

API styles and contracts

An API defines how components interact through endpoints, methods, and expected responses. The course contrasts REST's resource-oriented requests with GraphQL's client-selected fields and gRPC's protocol-buffer-based service calls.

40:11

Designing and operating APIs

Good APIs should be consistent, simple, secure, and mindful of performance. Planning includes requirements and scope, design approaches, testing, deployment, monitoring, maintenance, and eventual retirement.

48:32

HTTP, WebSockets, AMQP, and gRPC

The course reviews HTTP request and response structure, HTTPS protection, WebSocket communication for real-time updates, and AMQP message queues. It also describes gRPC's use of protocol buffers and HTTP/2, especially for server-to-server communication.

59:30

TCP and UDP trade-offs

TCP adds connection setup and ordered, reliable delivery, making it appropriate when correctness matters. UDP reduces overhead for latency-sensitive applications that can tolerate some packet loss.

REST resource design and request behavior

1:04:21

REST resources, filtering, and pagination

REST URLs should name resources, while HTTP methods express actions. Filtering, sorting, and pagination can limit returned data and reduce unnecessary work for both server and client.

1:10:50

HTTP methods and idempotency

GET retrieves resources and is described as safe and idempotent, whereas POST creates state and repeated submissions may create multiple resources. PUT replaces a resource and PATCH updates part of it.

Moment by moment

TimeWhy it matters
7:00The course compares SQL and NoSQL models and introduces ACID and common NoSQL types.
13:32Vertical versus horizontal scaling and load balancing are introduced.
31:00API contracts lead into REST, GraphQL, and gRPC.
48:32The course surveys HTTP, WebSockets, AMQP, and gRPC.
59:30TCP and UDP are compared through reliability, overhead, and use cases.

Do this next

  1. Sketch a single-server application, then draw how its web and data tiers could scale independently.
  2. Choose a sample workload and explain whether SQL or NoSQL best fits its data relationships and consistency needs.
  3. Design a small REST API with resource URLs, suitable HTTP methods, filtering, and pagination; note where real-time messaging might need another protocol.

Common questions

How long is the course?

It runs for 7,522 seconds, or 2 hours, 5 minutes, and 22 seconds.

What system design topics are covered in the available transcript points?

They cover database models, scaling, load balancing, API styles and design, HTTP, WebSockets, AMQP, gRPC, TCP and UDP, and REST request patterns.

Does the course compare REST, GraphQL, and gRPC?

Yes. It describes REST's resource endpoints, GraphQL's client-selected response fields, and gRPC's protocol-buffer-based service communication.

Does this guide summarize the full video?

No. The supplied transcript points end at 1:20:21, so this guide only summarizes the material represented in those points.

Spot a mistake?

Notice an error or a timestamp that needs correction? Please report it; every summary is hand-checked against the video.

More course guides