Redis / Cache
32 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 1.1 Redishistorical
What Redis is, installation, features, commands, server topics, distributed Redis, use cases, key design, benchmarking, and cloud Redis.
- 1.2 Redis Installationhistorical
Install Redis from source, configure the core settings, and start a local instance.
- 1.3 Redis Persistencehistorical
Why Redis persistence is needed, RDB and AOF mechanisms, triggers, workflows, rewrite, blocking, and recovery choice.
- 1.4 Redis Transactionshistorical
What Redis transactions are, MULTI/EXEC/DISCARD, no rollback, optimistic locking with WATCH, and comparison with MySQL transactions.
- 1.5 Redis Pipelinehistorical
What Redis pipeline is, why it reduces network I/O, usage examples, implementation notes, and comparison with M commands, Lua, and transactions.
- 1.6 Redis Pub/Subhistorical
What Redis Pub/Sub is, basic publish/subscribe usage, unsubscribe behavior, and pattern matching.
- 1.7 Redis Luahistorical
Redis Lua usage, debugging, data-type conversion, supported libraries, logging, execution time, EVAL/EVALSHA, IDEs, and example scripts.
- 1.8 Analyzing Redis with Wiresharkhistorical
Capture a local Redis command with Wireshark and inspect its RESP request and response.
- 1.9 Redis Client Connection Handlinghistorical
Redis client connection handling, maximum clients, client list, timeouts, and TCP keepalive.
- 1.10 Redis Signal Handlinghistorical
How Redis handles SIGTERM/SIGINT, crash signals, and killed background child processes.