Skip to content

Tag: Redis

  • Redis Cache Design

    In Redis

    RedisCacheHigh Availability

    Introducing a cache dramatically reduces database pressure, but poor design introduces the classic problems of penetration, breakdown and avalanche. We break down the causes and countermeasures below. The Three Classic Problems Cache penetration: …

    Introducing a cache dramatically reduces database pressure, but poor design introduces the classic problems of penetration, breakdown and avalanche. We break down the causes and countermeasures below. The Three Classic Problems Cache penetration: …

  • Redis Data Structures and Underlying Implementation

    In Redis

    RedisData StructureInternals

    Redis exposes five common types to users, but underneath there are multiple encodings (encoding). Automatically switching encodings based on data size is the key to balancing memory and performance. Core Underlying Structures SDS (Simple Dynamic …

    Redis exposes five common types to users, but underneath there are multiple encodings (encoding). Automatically switching encodings based on data size is the key to balancing memory and performance. Core Underlying Structures SDS (Simple Dynamic …