#caching

  • Caching
    Overview of caching layers, read/write caching strategies, invalidation approaches, and popular caching tools for reducing latency and system load.
  • Conclusions And QA
    Conclusions, best-practice summary, implementation checklist, and community Q&A on a distributed in-memory cache for heavy-read APIs, covering Redis Pub/Sub sync, race conditions, warm-up, and Redis versus Memcached at scale.
  • In Memory Cache Best Practices
    Index and summary of a guide to distributed in-memory caching for heavy-read APIs, pointing to the architecture, optimization, and trade-off notes.
  • Optimization Techniques
    Techniques and lessons learned for tuning a local in-memory cache synchronized by Redis Pub/Sub, covering serialization, native HTTP, ETags, eviction, race conditions, and pod lifecycle.
  • Overview And Architecture
    Problem context and reference architecture for serving 1M+ requests per second on heavy-read APIs using local in-memory caches synchronized through Redis Pub/Sub.
  • Tradeoffs And Comparison
    Trade-offs, limitations, comparisons with Redis client-side caching, Memcached, and CDNs, and benchmark numbers for a local in-memory cache fed by Redis Pub/Sub.
  • Redis
    Guide to Redis, the in-memory data structure store used as a database, cache, and message broker, covering its use cases, data types, persistence, and best practices.
  • Cache Aside Pattern
    Explains how to load data into a cache on demand from a data store, and how to invalidate entries on update to keep the cache consistent, with a .NET example.
  • Instagram Like Photo System Design
    A system design walkthrough of an Instagram-like photo-sharing service covering requirements, capacity estimates, database design, newsfeed generation with hybrid push/pull, caching, and key generation.