Day 1: Build a Basic HTTP Key-Value Service — and Store Nothing Durable
Share this lesson
Share on X
Lesson 1
60 min
Learning Objectives
- ✓ Explain what a key-value store is and how PUT/GET work over HTTP.
- ✓ Build a simple in-memory key-value service in Go.
- ✓ Demonstrate that in-memory data is lost when the process restarts.
- ✓ Differentiate between in-memory storage and durable persistent storage.
- ✓ Recognize why durability matters for real-world databases and distributed systems.
- ✓ Run and verify the service using the demo scripts.
Course Curriculum
1
Day 1: Build a Basic HTTP Key-Value Service — and…
2
Day 2: Implement Concurrent Request Handling with Go Goroutines and…
3
Day 3: Persist Data to Disk with a Write-Ahead Log…
4
Day 4: Refine the API with Idempotent Operations — and…
5
Day 5: Add Structured Logging and Basic Metrics to Observe…
6
Day 6: Establish Inter-Node Communication with gRPC — and Handle…
7
Day 7: Implement Gossip for Dynamic Cluster Membership — and…
8
Day 8: Replicate Writes Asynchronously to Multiple Nodes with a…
9
Day 9: Implement Tunable Read and Write Quorums (N, W,…
10
Day 10: Kill a Replica Mid-Write — and Observe Divergent…
11
Day 11: Repair Data Divergence with Read Repair on GET…
12
Day 12: Replicate the Write-Ahead Log to a Second Node…
13
Day 13: Implement Anti-Entropy with Merkle Trees for Background Data…
14
Day 14: Build a Client-Side Load Balancer with Retries and…
15
Day 15: Partition the Network Between Replicas — and Observe…
16
Day 16: Hash Keys to Distribute Data Across Partitions —…
17
Day 17: Implement Consistent Hashing for Elastic Cluster Membership —…
18
Day 18: Build a Request Router to Direct Traffic to…
19
Day 19: Handle High Concurrency with Connection Pools and Backpressure…
20
Day 20: Grow the Cluster: Add a New Node and…
21
Day 21: Implement Hinted Handoff to Buffer Writes When a…
22
Day 22: Build a Coordination Service for Cluster-Wide Configuration Changes…
23
Day 23: Implement Snapshotting and Compacting the Write-Ahead Log —…
24
Day 24: Saturate a Node’s CPU/Disk/Network — and Watch Latency…
25
Day 25: Implement a Rolling Upgrade Strategy for the Service…
26
Day 26: Add Distributed Tracing to Follow Requests End-to-End —…
27
Day 27: Perform Capacity Planning: Benchmark Throughput and Latency Under…
28
Day 28: Define Service Level Objectives (SLOs) and Configure Anomaly…
29
Day 29: Introduce a Subtle Bug or Configuration Error —…
30
Day 30: Conduct a Post-Mortem and Document System Architecture with…
The implementation guide unlocks after your first All Access Annual payment.
Implementation guides for free lessons remain accessible during the trial.
No Demo Video
A working code demo video will appear here when available.
Resources & Links
Paid source code is not included during the trial.
It unlocks automatically after the first All Access Annual payment. Free lesson source code remains available.
No Resources Available
Resources such as GitHub repositories, related courses, and videos will appear here when available.
This tab has been moved to the Resources tab.
Please use the Resources tab to access GitHub repositories and other links.