Files
awesome-kubernetes/v2-docs/caching.md

17 KiB

Caching Solutions

!!! info "Architectural Context" Detailed reference for Caching Solutions in the context of Networking & Service Mesh.

Standard Reference

Application Performance

Caching and Acceleration

General Caching

  • (2015) Slideshare: Caching [COMMUNITY-TOOL] — A fundamental overview of web and application tier caching topologies. The presentation covers standard cache eviction models, write-through vs. write-behind persistence strategies, and database query-offloading concepts. While conceptual, it remains a valuable primer on distributed cache invalidation.

Varnish Best Practices

  • (2015) slideshare: Varnish - Tips & Tricks - 4Developers 2015 [COMMUNITY-TOOL] — A practical collection of developer tips for working with Varnish. Features implementations for dynamic Edge Side Includes (ESI), custom HTTP response transformations within VCL, and tactical debugging pipelines for routing failures.

Varnish Book

  • (2023) The Varnish Book [DOCUMENTATION] [COMMUNITY-TOOL] — The canonical training resource for Varnish Cache. It covers structural caching paradigms, comprehensive VCL grammar rules, cache purge operations, and distributed cache deployment topologies. Essential reading for operations and platform engineers.

Varnish Cache

  • (2026) Varnish Cache [VCL CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — Varnish Cache is a high-performance HTTP reverse-proxy engine engineered for intensive, content-heavy web delivery. Operating on the custom Varnish Configuration Language (VCL), it compiles configurations directly into binary operations. Live grounding in 2026 establishes its dominant position in CDN edge-caching and modern content delivery pipelines.

Varnish on RHEL

  • (2020) Red Hat Enterprise Linux Blog. Tag: Varnish [GUIDE] [COMMUNITY-TOOL] [GUIDE] — A technical compilation detailing the deployment and operational profile of Varnish Cache running on Red Hat Enterprise Linux. Addresses systemd tuning, SELinux policies, and optimization of RHEL filesystem layouts to support massive caching structures.

In-Memory Datastores

Memcached

  • (2026) memcached.org [C CONTENT] [COMMUNITY-TOOL] — Memcached is a distributed, high-performance, in-memory key-value caching engine. Optimized for simple, highly concurrent string-based data storage, its architecture uses consistent hashing on the client-side to scale out seamlessly. In 2026, it remains a de facto caching choice for lowering database load.

Memcached Introduction

  • (2014) Slideshare: Introduction to memcached [COMMUNITY-TOOL] — An introductory architecture deck explaining Memcached internals. Discusses memory management techniques including the Slab Allocator, LRU eviction protocols, and consistent hashing mechanics across cluster boundaries.

Redis Deep Dive

  • (2024) architecturenotes.co: Redis Explained 🌟🌟 [ADVANCED LEVEL] [GUIDE] [COMMUNITY-TOOL] [GUIDE] — A deep-dive technical architectural breakdown of Redis. Analyzes single-threaded event loops, data type internals, memory management strategies, and replication modes. Live grounding notes the 2024 license shift to RSALv2/SSPLv1 and the rise of Linux Foundation's Valkey as an open-source alternative.

Redis Introduction

  • (2014) Slideshare: Introduction to Redis [COMMUNITY-TOOL] — An overview introducing Redis structures, covering fundamental data types (strings, hashes, lists, sets, sorted sets), memory limits, and early deployment scenarios. It maps the foundational concepts that enabled its rise as a database-cache hybrid.

Media Optimization

Nginx Image Optimization

  • (2016) Nginx: a caching, thumbnailing, reverse proxying image server? 🌟 [GUIDE] [COMMUNITY-TOOL] [GUIDE] — This architectural implementation details configuring Nginx as an on-the-fly media manipulation and caching layer. Utilizes ngx_http_image_filter_module to process image resizing and cropping dynamically, reducing storage and application-level workloads.

Data Engineering

In-Memory Databases

Caching

  • Redis [DOCUMENTATION] [DE FACTO STANDARD] — The definitive open-source, in-memory data store used as a database, cache, message broker, and streaming engine. Offers unmatched low-latency read-write cycles and versatile data structures. Highly valued for real-time applications requiring low overhead.

Database Infrastructure

Database Load Balancing

MySQL and HAProxy

  • (2015) slideshare: Load Balancing MySQL with HAProxy [COMMUNITY-TOOL] — A technical breakdown of scaling and routing read/write traffic across MySQL architectures using HAProxy. It explores health checking configurations, split read/write routing mechanisms, and automatic failover handling. Essential for database reliability engineering pipelines.

Performance Tuning

  • (2015) slideshare: Performance Tuning of HAProxy for Database Load Balancing [ADVANCED LEVEL] [COMMUNITY-TOOL] — This reference targets HAProxy performance tuning specifically for high-frequency database connections. Outlines parameter optimization for low-latency handshakes, session timeout values, and scaling connection pools without exhausting OS file descriptors.

SQL Load Balancing

  • (2014) slideshare: How To Set Up SQL Load Balancing with HAProxy [COMMUNITY-TOOL] — A step-by-step presentation detailing configuration strategies for SQL database load balancing. Emphasizes the role of external cluster-check agents to facilitate robust, real-time node state reporting to HAProxy frontend pools.

High-Performance Storage

Nginx and Tarantool

  • (2016) highscalability.com: Building nginx and Tarantool based services 🌟 [LUA CONTENT] [ADVANCED LEVEL] [CASE STUDY] [CASE STUDY] [COMMUNITY-TOOL] — An architectural case study detailing low-latency web design using Nginx and Tarantool. By bypassing conventional application-tier middleware and utilizing Lua scripting within the web server, direct database query execution and extreme throughput are achieved.

Infrastructure

Load Balancing and Proxy

HAProxy Practices

  • (2015) slideshare: Haproxy best practice [ADVANCED LEVEL] [COMMUNITY-TOOL] — Compiled production practices for high-scale HAProxy architectures. The content focuses on TCP kernel optimizations, buffer tuning, SSL termination strategies, and mitigation techniques for distributed denial of service (DDoS) traffic at the ingress boundary.

HAProxy Web Performance

  • (2015) slideshare: Haproxy web performance [COMMUNITY-TOOL] — This HAProxy technical deck details optimization strategies for handling high-concurrency HTTP/HTTPS traffic. It analyzes connection pooling, keep-alive tuning, event loop configurations, and CPU pinning to maximize packet processing throughput. The principles outlined form the basis of modern edge load balancing.

Hitch TLS

Networking

Load Balancing

HAProxy

  • (2026) ==haproxy.org== [ADVANCED LEVEL] 🌟🌟🌟🌟🌟 [DE FACTO STANDARD] — The official site for HAProxy, the high-performance TCP/HTTP load balancer. Renowned for its extreme efficiency and microsecond-level latency control, HAProxy is an industry standard for routing massive amounts of concurrent web traffic.

Serverless Architectures

WebAssembly and Edge

Edge Computing Engines

  • github.com/taubyte/tau: Tau 5030 [EN CONTENT] [ADVANCED LEVEL] [DE FACTO STANDARD] [ENTERPRISE-STABLE] — The main open-source repository for Tau. This platform handles autonomous routing, distributed database syncs, and scaling for multi-tenant edge services, running on WebAssembly.

💡 Explore Related: Cloudflare | Kubernetes Networking | Servicemesh