CS for Building Good Services — Relearning Textbook Ideas by Measuring
Measure, then choose: data structures, concurrency, caches and clocks
중급 · Lessons 30 · Lab 10
Start the lab
Curriculum
Check Complexity by Measuring
Choosing a Data Structure Changes Latency and Cost — Hash, Tree, Heap
Build an LRU Cache and a Bloom Filter Yourself
Race Conditions Happen Between awaits Too — Threads, the GIL and asyncio
Memory and GC Create Latency Tails
A String Has Three Lengths — Bytes, Code Points, Characters, and Time Zones
Where Floating Point Deceives a Service
When the Cache Lies Longer Than the DB — Cache Consistency
Clocks and Order — Lamport Clocks, Vector Clocks and Retries
The Database Keeps the Invariants — Constraints and Retry Loops
Reference docs