---
title: "Caching (hard)"
description: "Cache design, invalidation, CDNs as caches, Redis/Memcached usage"
url: "https://swe.quest/tags/caching?difficulty=hard"
---

# Caching (hard)

Topic in Backend & APIs: Cache design, invalidation, CDNs as caches, Redis/Memcached usage

By difficulty: [Easy](https://swe.quest/tags/caching.md?difficulty=easy) · [Medium](https://swe.quest/tags/caching.md?difficulty=medium) · [Hard](https://swe.quest/tags/caching.md?difficulty=hard)

Posts 1–14 of 14, page 1 of 1, newest first.

## 2026-11-18

- [180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers](https://swe.quest/articles/180b-parameters-32gb-of-ram-pushing-moe-inference-to-the-limit-with-transformers-63cd3cf21432f7c3.md): Hugging Face · 2026-11-18 · Hard · 11 min read · Inference & serving, LLMs, Performance engineering, Caching, Hardware
  Streaming MoE experts from SSD through a bounded device-side slot pool lets Transformers run Qwen3.8-Flash-Next (121 GB of experts) on a 32 GB MacBook M5 at ~13.9 tok/s, within 6% of the specialized Strata engine on decode and slightly faster on prefill.

## 2026-09-23

- [How to serve trillions of tokens for trillion-parameter coding agents](https://swe.quest/articles/how-to-serve-trillions-of-tokens-for-trillion-parameter-coding-agents-0508c7c515fa8a14.md): Modal · 2026-09-23 · Hard · 32 min read · Inference & serving, LLMs, Caching, Performance engineering, Hardware
  Modal describes how it serves Moonshot AI's trillion-parameter Kimi K2.6 model for coding-agent traffic at trillions of tokens.

## 2026-09-10

- [Async GRPO with LoRA across HF Jobs: a bucket, a proxy, and no NCCL](https://swe.quest/articles/async-grpo-with-lora-across-hf-jobs-a-bucket-a-proxy-and-no-nccl-a625fff69adbae9a.md): Hugging Face · 2026-09-10 · Hard · 29 min read · Model training, Inference & serving, Caching, Load balancing, LLMs
  TRL v1.14's AsyncGRPOTrainer can train a LoRA adapter and sync only that adapter to vLLM, which lets the trainer and inference replicas run as separate Hugging Face Jobs on separate machines without NCCL.

## 2026-09-09

- [Improving Lakebase Postgres Compute Cache on Neon, Part 1](https://swe.quest/articles/improving-lakebase-postgres-compute-cache-on-neon-part-1-96696f73ade727a0.md): Neon · 2026-09-09 · Hard · 9 min read · PostgreSQL, Caching, Performance engineering, Memory management, Virtualization
  On large fixed-size Lakebase Postgres computes, Neon now disables its NVMe-backed local file cache and sets shared buffers to 75% of DRAM (up from a 1 GB cap), backed by explicit 2 MB HugeTLB pages provisioned through host, hypervisor and guest VM.

## 2026-07-29

- [How the controller-runtime Cache Actually Works, and Why Your Controller Does Not Crash the API Server](https://swe.quest/articles/how-the-controller-runtime-cache-actually-works-and-why-your-controller-does-adcfa1b97b0265c0.md): Kubernetes Blog · 2026-07-29 · Hard · 32 min read · Kubernetes, Go, Caching
  In controller-runtime, r.Get() and r.List() inside a reconciler read from a local in-memory cache built on client-go informers.

## 2026-06-22

- [Client-Side Load Balancing at a Million Requests Per Second](https://swe.quest/articles/client-side-load-balancing-at-a-million-requests-per-second-9bf178158e4acd04.md): Zalando Engineering · 2026-06-22 · Hard · 28 min read · Load balancing, Kubernetes, Caching, Scaling, Java & JVM
  Zalando moved the high fan-out internal traffic of its Product Read API (over a million requests per second at peak) off the shared Skipper ingress and onto an in-process client-side load balancer.

## 2026-05-11

- [Serving DeepSeek-V4: why million-token context is an inference systems problem](https://swe.quest/articles/serving-deepseek-v4-why-million-token-context-is-an-inference-systems-problem-bfb1067f4f733f69.md): Together AI · 2026-05-11 · Hard · 11 min read · Inference & serving, LLMs, Caching, Performance engineering, Hardware
  DeepSeek-V4's 1M-token context comes from compressing the token axis of the KV cache: Compressed Sparse Attention (stride 4, top-k selection), Heavily Compressed Attention (stride 128, dense over ~8K entries) and a 128-token Sliding Window Attention path.

## 2026-05-04

- [Boosting multimodal inference performance by \>10% with a single Python dictionary](https://swe.quest/articles/boosting-multimodal-inference-performance-by-10-with-a-single-python-dictionary-89ba3b03f48e9ebc.md): Modal · 2026-05-04 · Hard · 7 min read · Inference & serving, Performance engineering, Python, Caching
  SGLang's single-threaded scheduler was wasting host time on multimodal workloads by calling torch.UntypedStorage.\_new\_shared\_cuda for every tensor received over CUDA IPC, repeatedly reopening the same few memory-pool handles.

## 2026-05-01

- [Cycles Texture Cache](https://swe.quest/articles/cycles-texture-cache-778aa21fc39107df.md): Blender Developers Blog · 2026-05-01 · Hard · 5 min read · Computer vision, Memory management, Caching, Performance engineering
  Blender 5.2 LTS adds a Cycles texture cache that loads only the image tiles and mipmap resolutions a render actually needs, cutting memory use in texture-heavy scenes.

## 2026-03-04

- [Cache-aware prefill–decode disaggregation (CPD) for up to 40% faster long-context LLM serving](https://swe.quest/articles/cache-aware-prefill-decode-disaggregation-cpd-for-up-to-40-faster-long-context-7f727a0ea889f194.md): Together AI · 2026-03-04 · Hard · 9 min read · Inference & serving, Caching, LLMs, Performance engineering, Scheduling
  Cache-aware prefill–decode disaggregation (CPD) extends standard PD serving with a dedicated pre-prefill tier for low-reuse (cold) long prompts, a router that estimates prefix-cache reuse per request, and a three-level KV cache hierarchy (GPU memory, host DRAM, RDMA-connected distributed cache).

## 2025-12-31

- [BitFields API: Type-Safe Bit Packing for Lock-Free Data Structures](https://swe.quest/articles/bitfields-api-type-safe-bit-packing-for-lock-free-data-structures-0725d8986cbdf5c3.md): RocksDB Blog · 2025-12-31 · Hard · 9 min read · Concurrency, C & C++, Data structures, Caching, Performance engineering
  RocksDB's BitFields API is a template-based C++ abstraction that declares multiple logical fields packed into one atomic integer, replacing hand-written shifts and masks with typed Get/Set accessors and composable "transforms".

## 2025-07-09

- [No more disks: the architecture behind stateless compute in ClickHouse Cloud](https://swe.quest/articles/no-more-disks-the-architecture-behind-stateless-compute-in-clickhouse-cloud-196ae85c7a09008f.md): ClickHouse · 2025-07-09 · Hard · 18 min read · Analytics & OLAP, Distributed databases, Storage engines, Caching, Cloud platforms
  ClickHouse Cloud compute nodes are now fully stateless and diskless.

## 2021-10-26

- [Kangaroo: A new flash cache optimized for tiny objects](https://swe.quest/articles/kangaroo-a-new-flash-cache-optimized-for-tiny-objects-925482fcf04e3dc4.md): Meta Engineering · 2021-10-26 · Hard · 5 min read · Caching, Storage systems, Data structures, Hardware
  Kangaroo is a flash cache for tiny objects (~100 bytes) that pairs a small log-structured cache (KLog, ~5% of flash) with a large set-associative cache (KSet).

## 2021-08-18

- [RAMP-TAO: Layering atomic transactions on Facebook’s online graph store](https://swe.quest/articles/ramp-tao-layering-atomic-transactions-on-facebook-s-online-graph-store-470552a388260a08.md): Meta Engineering · 2021-08-18 · Hard · 2 min read · Consistency models, Distributed databases, Caching, Distributed systems
  RAMP-TAO is a protocol that layers read-atomic transactional guarantees on top of TAO, Facebook's eventually consistent social graph store, so developers get an intuitive read transaction API without handling fractured-read anomalies.

Same list as RSS: [https://swe.quest/feed.xml?difficulty=hard&tag=caching](https://swe.quest/feed.xml?difficulty=hard&tag=caching). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
