Redis / Cache
32 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Redis Benchmarkinghistorical
How to benchmark Redis without confusing synthetic command throughput with application capacity, including concurrency, payloads, pipelines, latency percentiles, and hot-key effects.
- Managed / Cloud Redishistorical
How managed Redis changes responsibility for topology, failover, backups, networking, scaling, observability, and compatibility without changing Redis's core consistency limits.
- 2.1 Redis Bloom Filtershistorical
Bloom-filter semantics, false positives, Redis bitmap implementations, scaling, and RedisBloom/module alternatives.
- 2.2 Redis Rate Limitinghistorical
Rate limiting with Redis counters, fixed/sliding windows, token buckets, Lua atomicity, clock/expiry considerations, and production design trade-offs.
- 2.3 Redis Data Structureshistorical
Stable Redis data-type semantics and use cases, with version-sensitive internal encodings separated from the public model.
- 2.4 Redis as an Asynchronous Queuehistorical
Lists, blocking pops, Pub/Sub, sorted-set delayed queues, Redis Streams, and when a dedicated message broker is the better choice.
- 2.5 Redis Distributed Lockshistorical
Lease-based locking with SET NX PX, ownership tokens, atomic release, renewal, failure windows, fencing tokens, and the limits of Redis replication/Redlock.
- 2.6 Redis Key Designhistorical
Practical Redis key naming, schema modeling, indexing, cardinality, hashes vs. strings, TTL boundaries, cluster hash tags, and why key scans should not become a query engine.
- Redis Command Guidehistorical
A compact guide to Redis command families and production-safe usage principles instead of a version-frozen command dump.
- 3.1 Redis Execution and Threading Modelhistorical
Redis event-driven command execution, I/O multiplexing, threaded network I/O, background work, and why the phrase 'Redis is single-threaded' needs qualification.