使用
Redis / Cache · 7 notes
- 2.1 Redis BloomFilterhistorical
Redis BitMaps can hold a Bloom filter's bit array. These notes examine expanding the structure after it reaches a capacity threshold.
- 2.2 Redis RateLimiterhistorical
These notes implement rate limiting with Redis, storing counts or state under keys and using parameters to decide whether requests can proceed.
- 2.3 Redis Data Structureshistorical
Redis uses dictionaries for database key-value storage and objects for concrete data types. These notes connect redisDb, dict, and redisObject.
- 2.4 Redis Asynchronous Queuehistorical
An asynchronous queue orders data first in, first out and buffers it between production and consumption. These notes record an implementation using Redis.
- 2.5 Redis Distributed Lockshistorical
Redis distributed locks coordinate instances through conditional writes and related operations. These notes begin with setting an absent key and examine acquisition and release.
- 2.6 Redis Key Design Tipshistorical
Redis keys can be organized by table, primary key, and value. Command examples record naming and storage approaches for different fields.
- 2.7 Redis Commandshistorical
Redis provides commands to find and manipulate keys. These notes begin with pattern matching in keys and record common commands and wildcards.