- Home
- Courses
- System Design Fundamentals
- Data and Communication
Micro Free Course — 100% Free Learning
All lessons in this module are free to learn. Sign in with Google to save your progress.
Data and Communication
Database sharding and partitioning; replication and consistency (master-slave, multi-master, CAP); message queues for async communication; API design (REST, gRPC, GraphQL); CDNs and edge delivery.
Module Content
Database Sharding & Partitioning
Splitting one big DB into many smaller ones. The strategies (range, hash, geo) and what breaks at the join. FIND_VIDEO: search 'database sharding partitioning explained' — recommended channel: ByteByteGo / Hussein Nasser. Aim for 11 min or under.
Recap — Sharding Strategies and Trade-offs
When you need sharding, how to choose a shard key, and the operational pain that comes with it.
Replication & Consistency
Multiple copies of your data. Master-slave, multi-master, the CAP theorem, and the consistency models you need to know. FIND_VIDEO: search 'database replication consistency CAP theorem' — recommended channel: ByteByteGo / Hussein Nasser. Aim for 11 min or under.
Recap — Replication Topologies and Consistency
Master-slave, multi-master, leaderless. CAP, PACELC, and how to reason about consistency trade-offs.
Message Queues & Async Communication
Decouple services. Kafka, RabbitMQ, SQS — and when to reach for async messaging instead of synchronous calls. FIND_VIDEO: search 'message queue kafka rabbitmq tutorial' — recommended channel: ByteByteGo / Hussein Nasser. Aim for 10 min or under.
Recap — Async Messaging Patterns
When to choose async over sync, the major queue systems, and the patterns (pub/sub, work queue, event sourcing).
API Design — REST, gRPC, GraphQL
Three API styles. Different strengths, different costs. Choose by use case, not by hype. FIND_VIDEO: search 'REST vs gRPC vs GraphQL comparison' — recommended channel: ByteByteGo / Hussein Nasser. Aim for 11 min or under.
Recap — Choosing Between REST, gRPC, GraphQL
When each API style is the right choice. Pagination, versioning, authentication patterns common to all.
CDNs & Edge
Static content delivery from servers near users. Cache hit ratios, invalidation, and edge compute. FIND_VIDEO: search 'CDN content delivery network explained' — recommended channel: ByteByteGo / CloudFlare YouTube. Aim for 9 min or under.
Recap — CDN Patterns and When to Use Edge
What a CDN does, what to put on it, and what 'edge compute' adds beyond caching.