System Design
32 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Designing a Feed Systemhistorical
A historical system-design note comparing Pull, Push, and hybrid fan-out strategies for a feed.
- Designing a Short URL Systemhistorical
A historical note on mapping long URLs to short codes with Redis and Base62.
- Designing an E-Commerce Detail Pagehistorical
A historical note on e-commerce detail-page caching architectures, cache consistency, two-layer Nginx caching, and cache warm-up.
- Designing a Leaderboard Systemhistorical
A sanitized historical design note preserving sorted sets, idempotent updates, hotspot handling, sharding, and reconciliation.
- Designing User Registration and Loginhistorical
A historical note on login state, username/password registration and login, verification codes, and third-party login.
- Designing a Frequency-Control Systemhistorical
A sanitized historical note preserving atomic Redis counters, batch APIs, hot-key handling, degradation, and performance-testing methodology.
- Designing a TCP Frameworkhistorical
A short historical design note covering requirements, diagrams, implementation sequences, and C10K.
- Designing a Cache Middlewarehistorical
A historical note on basic operations, concurrency safety, eviction, and distributed cache forms.
- Designing a TCP Connection Poolhistorical
A historical note on TCP connection pooling and examples for MySQL, Redis, and HTTP clients.
- Designing an RPC Frameworkhistorical
A historical note on RPC transport, protocol framing, serialization, stubs/reflection, service discovery, resilience, async calls, and graceful shutdown.