---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?per=96&tag=caching"
---

# Posts

Filtered by topics: Caching.

Posts 1–96 of 123, page 1 of 2, newest first.

## 2026-11-23

- [Tracing Cache Inconsistencies to Their Root Cause](https://swe.quest/articles/tracing-cache-inconsistencies-to-their-root-cause-0cc21b10b814cb9e.md): Nextdoor Engineering · 2026-11-23 · Medium · 7 min read · Caching, Consistency models, Observability, PostgreSQL, Debugging
  Nextdoor extended its versioned Valkey ORM cache so every conditional write also atomically stores a short-lived verification key (receipt) recording the operation (fill\_on\_write or fill\_on\_miss), writer service, trace ID and replaced version, colocated via a hash tag in the same cluster slot.

## 2026-11-18

- [How a shared merchant data service can degrade gracefully](https://swe.quest/articles/how-a-shared-merchant-data-service-can-degrade-gracefully-8de99a9e03ed71ec.md): Grab Engineering · 2026-11-18 · Medium · 10 min read · Resilience, Caching, System design, SRE, Databases
  Grab's merchant data service suffered a cascading failure when cache read timeouts fell back to the database, retries piled on, and availability collapsed.
- [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-11-17

- [Netmap caching: keeping Tailscale up on iffy connections](https://swe.quest/articles/netmap-caching-keeping-tailscale-up-on-iffy-connections-e5d2ceccabbc06ea.md): Tailscale · 2026-11-17 · Medium · 11 min read · Networking, Resilience, Caching, Distributed systems
  Tailscale clients can now cache the network map (netmap) to disk, so nodes start faster and can reach peers even when the coordination server is unreachable after a restart.

## 2026-11-16

- [How Infinitas Learning uses ClickHouse Managed Postgres to process billions of events for 1.6M unique learners](https://swe.quest/articles/how-infinitas-learning-uses-clickhouse-managed-postgres-to-process-billions-of-eb20c949118daba4.md): ClickHouse · 2026-11-16 · Medium · 9 min read · Analytics & OLAP, PostgreSQL, Performance engineering, Caching, Databases
  Infinitas Learning runs transactional learner-result processing on Postgres, with PL/pgSQL functions serving as the API in place of an earlier Kafka/Flink event-sourced pipeline, and customer-facing analytics on ClickHouse.
- [Making open models work for long-horizon agentic workloads](https://swe.quest/articles/making-open-models-work-for-long-horizon-agentic-workloads-904e5a2645303fb2.md): Together AI · 2026-11-16 · Medium · 12 min read · Inference & serving, AI agents, Caching, LLMs, Load balancing
  Agentic coding workloads resend the whole growing transcript each turn while emitting short tool calls, so they are prefill-dominated and depend on prefix caching, which only reuses work up to the first changed token.

## 2026-11-05

- [Lakebase Postgres is built on object storage, but 99.99999% of reads never touch it](https://swe.quest/articles/lakebase-postgres-is-built-on-object-storage-but-99-99999-of-reads-never-touch-66e3f7227042e0f9.md): Neon · 2026-11-05 · Medium · 7 min read · PostgreSQL, Storage engines, Caching, Storage systems, Performance engineering
  Lakebase Postgres stores durable history in object storage but keeps it off the read path through tiered caching.
- [Change Data Capture in SQLite, Without the Triggers](https://swe.quest/articles/change-data-capture-in-sqlite-without-the-triggers-241b82cfb5d25e99.md): Turso · 2026-11-05 · Medium · 8 min read · SQLite, Event-driven architecture, Data pipelines, Caching
  Turso Database, a Rust rewrite of SQLite, has built-in change data capture enabled with a single PRAGMA.

## 2026-10-29

- [Meet GroeneAI: our autonomous contributor to ClickHouse](https://swe.quest/articles/meet-groeneai-our-autonomous-contributor-to-clickhouse-80536c3885c78419.md): ClickHouse · 2026-10-29 · Medium · 19 min read · AI agents, AI for coding, CI/CD, Query engines, Caching
  GroeneAI is a fully autonomous AI agent, built on the open-source Nerve runtime, that finds, reproduces and fixes ClickHouse bugs from CI failures, fuzzer findings and user reports, then shepherds its PRs through CI and review; it has passed 3,000 merged PRs.

## 2026-10-26

- [Neon Docs search is now built on Neon](https://swe.quest/articles/neon-docs-search-is-now-built-on-neon-6358bcc8a0cf6214.md): Neon · 2026-10-26 · Medium · 6 min read · Search, PostgreSQL, Vector search, Caching, AI agents
  Neon's docs search now runs entirely on its own stack: Lakebase Postgres with the lakebase\_vector (pgvector-compatible ANN) and lakebase\_text (BM25) extensions, a Hono API on Neon Functions, and Neon AI Gateway for embeddings and reranking.

## 2026-10-13

- [MCP in LangChain: Stateless Protocol, Elicitation, and More!](https://swe.quest/articles/mcp-in-langchain-stateless-protocol-elicitation-and-more-3388dd33c4368371.md): LangChain · 2026-10-13 · Medium · 5 min read · AI agents, Python, API design, Caching
  LangChain has moved MCP support into the main package as \`langchain.mcp\`, rebuilt on FastMCP to match the July 2026 stateless MCP spec, which drops sessions so remote servers no longer need sticky routing or a shared session store.
- [Redesigning source control at Anthropic](https://swe.quest/articles/redesigning-source-control-at-anthropic-ecdbb37746353304.md): Anthropic Engineering · 2026-10-13 · Medium · 17 min read · Version control, System design, Caching, Scaling, AI for coding
  Anthropic replaced git with Scion, an in-house centralized version control system, after its monorepo grew past what git mirrors could serve.

## 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-09-08

- [Architecting for 6 Billion Daily Requests: Inside Wix's Media Platform](https://swe.quest/articles/architecting-for-6-billion-daily-requests-inside-wix-s-media-platform-5424f6cf38e8a5be.md): Wix Engineering · 2026-09-08 · Medium · 4 min read · Video & media, Caching, Go, Performance engineering, Testing
  Wix's media platform serves over 6 billion requests a day for 300M+ sites, and five design choices keep it fast and cheap.

## 2026-08-20

- [Open-weight models are fast on Neon AI Gateway. Here's why](https://swe.quest/articles/open-weight-models-are-fast-on-neon-ai-gateway-here-s-why-a042a513966cd27f.md): Neon · 2026-08-20 · Medium · 7 min read · Inference & serving, LLMs, Performance engineering, Caching, AI agents
  Neon AI Gateway serves open-weight models through Databricks Foundation Model APIs, so it gets that stack's inference optimizations: continuous batching with PagedAttention-style KV-cache paging and overlapped prefill/decode, a TensorRT-LLM backend with fused and GroupGEMM kernels for MoE, tensor parallelism, FP8 quantization, and per-GPU tuning.

## 2026-08-19

- [20× the CI traffic without getting slower: How we rebuilt Git serving at Datadog](https://swe.quest/articles/20-the-ci-traffic-without-getting-slower-how-we-rebuilt-git-serving-at-datadog-9f7156670a81ca53.md): Datadog Engineering · 2026-08-19 · Medium · 13 min read · Version control, CI/CD, Scaling, Caching, Replication
  Datadog replaced CI fetches from a replicated Gitaly/Praefect cluster with gitretriever, a fleet of independent Git mirrors that poll GitHub per changed ref and fan packfiles out to autoscaled relays over a gRPC signaling stream plus HTTP.

## 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-07-28

- [The 2026-07-28 Specification](https://swe.quest/articles/the-2026-07-28-specification-ef5b37550e41c173.md): Model Context Protocol · 2026-07-28 · Medium · 11 min read · AI agents, API design, Identity & auth, Load balancing, Caching
  MCP 2026-07-28 turns the Model Context Protocol from a stateful bidirectional protocol into stateless request/response.

## 2026-07-22

- [Session revocations at scale](https://swe.quest/articles/session-revocations-at-scale-0e845eb64b268c30.md): Canva Engineering · 2026-07-22 · Medium · 9 min read · Identity & auth, Caching, Scaling, System design, Storage systems
  Canva moved its gateway session-revocation cache from per-pod MySQL loads to sorted binary chunks in S3, eliminating the database stampede when hundreds of gateway pods started during deploys.

## 2026-07-13

- [Introducing Bobbin](https://swe.quest/articles/introducing-bobbin-38b7a32c2aaf86ba.md): Tangled · 2026-07-13 · Medium · 7 min read · System design, Caching, Distributed systems, Deployment
  Bobbin is a read-only, API-only AppView for Tangled that serves the sh.tangled.\* atproto lexicons over XRPC while holding everything in RAM.

## 2026-07-01

- [Meta’s AI Storage Blueprint at Scale](https://swe.quest/articles/meta-s-ai-storage-blueprint-at-scale-5c0823e3afed9f38.md): Meta Engineering · 2026-07-01 · Medium · 11 min read · Storage systems, ML platforms, Caching, System design, Performance engineering
  Meta rebuilt its BLOB-storage stack on top of the Tectonic block layer to stop storage from stalling GPUs in AI training.

## 2026-06-25

- [Optimizing cloud economics with linear elastic caching](https://swe.quest/articles/optimizing-cloud-economics-with-linear-elastic-caching-1df4c9ca9645409f.md): Google Research · 2026-06-25 · Medium · 7 min read · Caching, Algorithms, Cost optimization, Machine learning, Databases
  Linear elastic caching treats cache memory as a cost that grows linearly with data size and time held, and frames each page's retention as a ski rental problem: keep paying for RAM or evict and risk a miss penalty.

## 2026-06-23

- [Experimenting with the proposed Cross-Origin Storage API in Transformers.js](https://swe.quest/articles/experimenting-with-the-proposed-cross-origin-storage-api-in-transformers-js-f57157be2f20fb70.md): Hugging Face · 2026-06-23 · Medium · 13 min read · Browsers, Caching, Privacy, Inference & serving, JavaScript
  Browser cache partitioning (in Chrome, keying by Network Isolation Key plus URL) forces every origin running Transformers.js to re-download identical model weights and the ONNX Runtime Wasm file.

## 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-06-11

- [Improving performance in the layers panel](https://swe.quest/articles/improving-performance-in-the-layers-panel-1cd0d897a08e1393.md): Figma · 2026-06-11 · Medium · 8 min read · Performance engineering, Frontend, Caching, Data structures
  Figma rebuilt its layers panel to fix two problems: it computed data for every expanded node, and it recomputed everything after any change.

## 2026-06-01

- [Going multi-cloud with an in-housed status page](https://swe.quest/articles/going-multi-cloud-with-an-in-housed-status-page-2873f2e1231f7f6e.md): Railway · 2026-06-01 · Medium · 5 min read · CDN & edge, Resilience, Caching, Incidents & postmortems, SRE
  Railway built its own status page, hosted on Railway itself, behind a Cloudflare Worker so the public page survives an origin outage.

## 2026-05-14

- [From latency to instant: Modernizing GitHub Issues navigation performance](https://swe.quest/articles/from-latency-to-instant-modernizing-github-issues-navigation-performance-d76fe4f2daa6064a.md): GitHub Engineering · 2026-05-14 · Medium · 13 min read · Web performance, Caching, Frontend, Local-first & sync, Browsers
  GitHub made Issues navigation feel instant by moving to a local-first, stale-while-revalidate model: render issue pages from client-side data first, then revalidate in the background.

## 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-04-22

- [Frontend Engineering at Palantir: Engineering Multilingual Collaboration](https://swe.quest/articles/frontend-engineering-at-palantir-engineering-multilingual-collaboration-9b3a47e3dad9b426.md): Palantir · 2026-04-22 · Medium · 8 min read · Frontend, React, LLMs, Product engineering, Caching
  Dossier, Palantir's collaborative rich-text editor, gained a read-only translation mode that routes all text through an in-house Language Model Service so content never leaves secure or air-gapped networks.

## 2026-04-21

- [Steganography at scale: Embedding share URLs in Datadog widget screenshots](https://swe.quest/articles/steganography-at-scale-embedding-share-urls-in-datadog-widget-screenshots-c180eafbb38c64ee.md): Datadog Engineering · 2026-04-21 · Medium · 20 min read · Frontend, Caching, Observability, Algorithms
  Datadog embeds an 8-byte snapshot ID invisibly into the 1 px border of every dashboard widget so screenshots can be resolved back to the full widget context (queries, time range, template variables), with definitions cached in Redis for one hour keyed by org ID plus widget ID.

## 2026-03-30

- [Incident Report: March 30th, 2026 — Authenticated user data cached](https://swe.quest/articles/incident-report-march-30th-2026-authenticated-user-data-cached-6873088e4b983942.md): Railway · 2026-03-30 · Easy · 2 min read · Incidents & postmortems, Caching, CDN & edge, Privacy, Deployment
  A CDN configuration change meant to enable Surrogate Keys for per-domain caching accidentally turned on edge caching for about 0.05% of Railway domains that had CDN disabled.
- [Incident Report: March 30th, 2026 — Authenticated user data cached](https://swe.quest/articles/incident-report-march-30th-2026-authenticated-user-data-cached-39063c57b9768d72.md): Railway · 2026-03-30 · Easy · 2 min read · Incidents & postmortems, Caching, CDN & edge, Configuration management, Deployment
  A CDN configuration change meant to enable Surrogate Keys for per-domain cache purging accidentally turned on edge caching for about 0.05% of Railway domains that had CDN disabled.

## 2026-03-27

- [Zero-Downtime Patching Part 1: Prewarming](https://swe.quest/articles/zero-downtime-patching-part-1-prewarming-370c0c7ccc8bd249.md): Neon · 2026-03-27 · Medium · 4 min read · PostgreSQL, Deployment, Performance engineering, Caching
  Neon and Databricks Lakebase avoid the post-restart performance hit of cold Postgres caches by prewarming a replacement compute before planned maintenance.

## 2026-03-25

- [Figma's next-generation data caching platform](https://swe.quest/articles/figma-s-next-generation-data-caching-platform-c951e9f9c8ac4b49.md): Figma · 2026-03-25 · Medium · 15 min read · Caching, System design, Scaling, Go, Multi-tenancy
  FigCache is a stateless Go proxy that speaks the Redis RESP wire protocol.

## 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).

## 2026-02-25

- [From registrar to deployed: buying a domain inside Railway](https://swe.quest/articles/from-registrar-to-deployed-buying-a-domain-inside-railway-58b9a84dbf34f1ba.md): Railway · 2026-02-25 · Medium · 6 min read · DNS, Caching, Product engineering
  Railway now lets users search, buy and auto-configure domains inside the platform, and supports one-click DNS setup for Cloudflare-managed domains via the Domain Connect open standard.

## 2026-01-26

- [Incident Report: January 28-29, 2026](https://swe.quest/articles/incident-report-january-28-29-2026-596231b4a4df80f7.md): Railway · 2026-01-26 · Medium · 4 min read · Incidents & postmortems, Identity & auth, Caching, API design
  Railway users intermittently could not log in with GitHub or deploy from repos over several days because Railway exceeded GitHub's 2,000-per-hour OAuth token limit, with failures recurring about 30 minutes into each hour.

## 2026-01-22

- [Scaling PostgreSQL to power 800 million ChatGPT users](https://swe.quest/articles/scaling-postgresql-to-power-800-million-chatgpt-users-dfa96876f4563ed2.md): OpenAI · 2026-01-22 · Medium · 11 min read · PostgreSQL, Scaling, Replication, Resilience, Caching
  OpenAI serves millions of queries per second for ChatGPT and its API from a single unsharded Azure PostgreSQL primary plus nearly 50 geo-distributed read replicas, despite load growing more than 10x in a year.

## 2026-01-14

- [Safer Docker Hub Pulls via a Sonatype-Protected Proxy](https://swe.quest/articles/safer-docker-hub-pulls-via-a-sonatype-protected-proxy-26e088a0814cbf2c.md): Docker · 2026-01-14 · Medium · 7 min read · Supply chain security, Containers, Caching
  Routing Docker Hub pulls through a Nexus Repository Docker proxy with Sonatype Repository Firewall gives an organization a single, auditable checkpoint.

## 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-12-22

- [What really matters for performance: lessons from a year of benchmarks](https://swe.quest/articles/what-really-matters-for-performance-lessons-from-a-year-of-benchmarks-0ec8700c872ad4a4.md): ClickHouse · 2025-12-22 · Easy · 7 min read · Analytics & OLAP, Performance engineering, Caching, Databases
  Six ClickHouse benchmarks from 2025 point to one conclusion: performance depends on how efficiently an engine moves data end-to-end.

## 2025-12-05

- [Tangle: An open-source ML experimentation platform built at Shopify scale](https://swe.quest/articles/tangle-an-open-source-ml-experimentation-platform-built-at-shopify-scale-07b63a998f39f803.md): Shopify Engineering · 2025-12-05 · Medium · 11 min read · ML platforms, Caching, Data pipelines, Open source, Multi-tenancy
  Tangle is Shopify's newly open-sourced ML experimentation platform: users build pipelines visually as DAGs of containerized CLI components defined in YAML, so components can be written in any language and run on any cloud or locally.

## 2025-12-03

- [Zed Has Rainbow Brackets](https://swe.quest/articles/zed-has-rainbow-brackets-56d1fa479c442850.md): Zed · 2025-12-03 · Medium · 6 min read · Developer tools, Rust, Caching, Performance engineering, Testing
  Zed implements rainbow brackets without language servers or a persistent syntax tree by running each language's tree-sitter brackets.scm queries over independent 50-row chunks and coloring pairs by nesting depth across 7 cycling theme accent colors.

## 2025-12-01

- [Improving DNS performance with NodeLocalDNS](https://swe.quest/articles/improving-dns-performance-with-nodelocaldns-01d6f54219a60f0f.md): Neon · 2025-12-01 · Medium · 6 min read · DNS, Kubernetes, Performance engineering, Caching, Networking
  Neon deployed node-local-dns as a DaemonSet across its EKS clusters running hundreds of thousands of ephemeral Postgres pods, moving the 95%+ cache-hit DNS traffic off the network and onto each node.

## 2025-11-06

- [Build better software to build software better](https://swe.quest/articles/build-better-software-to-build-software-better-5c6078f2e1d6c4da.md): Slack Engineering · 2025-11-06 · Medium · 17 min read · Build systems, Developer productivity, CI/CD, Refactoring & migrations, Caching
  Slack cut the 60-minute build pipeline for Quip and Slack Canvas's backend by applying classic software engineering principles (hermetic, idempotent, granular units of work and clean separation of concerns) before adopting Bazel.

## 2025-10-06

- [Medium Android App — Migrating from Apollo Kotlin 3 to 4: Lessons Learned](https://swe.quest/articles/medium-android-app-migrating-from-apollo-kotlin-3-to-4-lessons-learned-a49ead8ba5186c2f.md): Medium Engineering · 2025-10-06 · Medium · 7 min read · GraphQL, Mobile, Caching, Java & JVM, Refactoring & migrations
  Upgrading Medium's Android app from Apollo Kotlin 3 to 4 surfaced CacheMissException errors across every watch()-based UI, because v4 delivers fetch errors through ApolloResponse instead of throwing or silently dropping them.

## 2025-07-22

- [The quest for the five minute deploy](https://swe.quest/articles/the-quest-for-the-five-minute-deploy-9b91763fbfd58020.md): incident.io · 2025-07-22 · Medium · 9 min read · CI/CD, Go, Build systems, Caching, Developer productivity
  incident.io cut CI/CD times by moving from a hosted provider, where a cold Go build cache made compiling 15,000+ tests across 350+ packages the bottleneck, to Buildkite running on three self-hosted 48-vCPU servers.

## 2025-07-11

- [Separation of storage and compute without a performance tradeoff](https://swe.quest/articles/separation-of-storage-and-compute-without-a-performance-tradeoff-25a1b45d403d8baf.md): Neon · 2025-07-11 · Easy · 6 min read · PostgreSQL, Caching, Performance engineering, Serverless, Storage systems
  Neon's Local File Cache (LFC) sits between Postgres shared buffers and Neon's remote multi-tenant page storage.

## 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.

## 2025-06-17

- [How we scaled fast, reliable configuration distribution to thousands of workload containers](https://swe.quest/articles/how-we-scaled-fast-reliable-configuration-distribution-to-thousands-of-workload-e29683144db0f208.md): Datadog Engineering · 2025-06-17 · Medium · 13 min read · Configuration management, Distributed systems, Resilience, Multi-tenancy, Caching
  Datadog replaced on-demand per-tenant config loading (database reads plus Kafka cache-invalidation messages) with a context-publisher that snapshots all tenants' configuration into RocksDB blobs in cloud storage and streams individual updates over Kafka.

## 2025-05-29

- [We rewrote large parts of our API in Go using AI: we are now ready to handle one billion databases](https://swe.quest/articles/we-rewrote-large-parts-of-our-api-in-go-using-ai-we-are-now-ready-to-handle-one-dae54753b5d31582.md): Turso · 2025-05-29 · Medium · 7 min read · Go, Scaling, Memory management, SQLite, Caching
  Turso's Go API proxy, which maps database URLs to physical servers, ran out of memory as customers created millions of databases programmatically.

## 2025-05-28

- [Resilient Import Maps - Better Theme Development and Beyond](https://swe.quest/articles/resilient-import-maps-better-theme-development-and-beyond-6678d102dbdca2c3.md): Shopify Engineering · 2025-05-28 · Medium · 7 min read · Browsers, JavaScript, Web performance, Caching, Frontend
  Shopify worked with browser vendors to change the HTML spec, Chromium and WebKit so import maps no longer break when JavaScript modules load before them or when a page has more than one map.
- [Building a Distributed Cache for S3](https://swe.quest/articles/building-a-distributed-cache-for-s3-a80fc6f3eb61cb72.md): ClickHouse · 2025-05-28 · Medium · 19 min read · Caching, Analytics & OLAP, Storage engines, Cloud platforms, Performance engineering
  ClickHouse Cloud adds a distributed cache that turns the per-node filesystem cache into a shared network service, so every compute node can read hot table data that any other node has fetched.

## 2025-05-20

- [Modal's serverless KV store gets its limit raised to infinity](https://swe.quest/articles/modal-s-serverless-kv-store-gets-its-limit-raised-to-infinity-9f67f240cb6a408f.md): Modal · 2025-05-20 · Medium · 4 min read · Serverless, Caching, Distributed systems, Python
  Modal's Dict key-value primitive now has unlimited storage, durability, a 7-day TTL that is refreshed on both reads and writes (previously 30 days since last write with a 10GiB cap), and a \`skip\_if\_exists\` flag on \`.put()\` that works as a distributed lock.

## 2025-04-23

- [Incident Report: April 23rd, 2025](https://swe.quest/articles/incident-report-april-23rd-2025-f0e6e4113e1badba.md): Railway · 2025-04-23 · Medium · 4 min read · Incidents & postmortems, Resilience, PostgreSQL, Networking, Caching
  A Google Cloud SQL maintenance window took Railway's networking control plane Postgres read replica offline for about 10 minutes, destabilizing edge, private networking and TCP proxy traffic across all regions, worst in Asia.

## 2025-04-09

- [Bun v1.2.9](https://swe.quest/articles/bun-v1-2-9-adfb5cf541bf3d98.md): Bun · 2025-04-09 · Medium · 8 min read · JavaScript, Runtimes & VMs, Caching, Performance engineering
  Bun v1.2.9 adds Bun.redis, an experimental built-in Redis/Valkey client written from scratch in Zig with 66 wrapped commands and a raw send() fallback, benchmarked 45–85% faster than ioredis with auto-pipelining on batched GETs.

## 2025-03-28

- [Introducing the query condition cache](https://swe.quest/articles/introducing-the-query-condition-cache-8138f22b787679a8.md): ClickHouse · 2025-03-28 · Medium · 11 min read · Caching, Query engines, Analytics & OLAP, Performance engineering
  ClickHouse 25.3 adds a query condition cache that records, per table, data part and predicate hash, a bit per granule indicating whether any row matched the WHERE condition, so repeated filters can skip non-matching granules.

## 2025-03-27

- [ClickHouse Release 25.3](https://swe.quest/articles/clickhouse-release-25-3-9135d1897f13fbb5.md): ClickHouse · 2025-03-27 · Medium · 8 min read · Analytics & OLAP, Query engines, Caching, Distributed databases
  ClickHouse 25.3 adds query support for AWS Glue and Unity lakehouse catalogs and declares the columnar JSON type, along with the Variant and Dynamic types it is built on, production-ready.

## 2025-03-19

- [Scaling Nextdoor’s Datastores: Part 5](https://swe.quest/articles/scaling-nextdoor-s-datastores-part-5-9c2a55c33ba04857.md): Nextdoor Engineering · 2025-03-19 · Medium · 8 min read · Caching, Consistency models, Event-driven architecture, PostgreSQL, Scaling
  Nextdoor closes cache consistency gaps in its look-aside Redis cache by consuming the PostgreSQL change data stream and issuing version-conditional del\_if\_version deletes whenever writers fail to update the cache.
- [Scaling Nextdoor’s Datastores: Part 4](https://swe.quest/articles/scaling-nextdoor-s-datastores-part-4-160381ed2304f3a4.md): Nextdoor Engineering · 2025-03-19 · Medium · 7 min read · Caching, Consistency models, PostgreSQL, Concurrency
  Nextdoor prevents racing writers from leaving stale values in its look-aside Redis cache by versioning every database row and making cache writes conditional on that version.
- [Scaling Nextdoor’s Datastores: Part 3](https://swe.quest/articles/scaling-nextdoor-s-datastores-part-3-5cb25113d465521d.md): Nextdoor Engineering · 2025-03-19 · Medium · 5 min read · Caching, Python, Schema migrations, Databases
  Nextdoor replaced pickle-style byte serialization of Django ORM objects in its Redis/Valkey look-aside cache with MessagePack, so cache entries stay readable across code releases and schema migrations.
- [Scaling Nextdoor’s Datastores: Part 1](https://swe.quest/articles/scaling-nextdoor-s-datastores-part-1-2e24faaf7f855796.md): Nextdoor Engineering · 2025-03-19 · Easy · 5 min read · Scaling, PostgreSQL, Caching, Replication, Consistency models
  Nextdoor's Django/PostgreSQL backend outgrew the usual scaling fixes, and a move to distributed SQL was ruled out because multi-JOIN relational queries were spread across the codebase.

## 2025-03-06

- [From Event-Driven Chaos to a Blazingly Fast Serving API](https://swe.quest/articles/from-event-driven-chaos-to-a-blazingly-fast-serving-api-515d5b06058dbe2a.md): Zalando Engineering · 2025-03-06 · Medium · 8 min read · Caching, Load balancing, Event-driven architecture, Performance engineering, E-commerce
  Zalando replaced an event-driven pipeline that merged Product, Price and Stock events with a central Product Read API (PRAPI).

## 2025-03-04

- [Why We’re Moving on From Nix](https://swe.quest/articles/why-we-re-moving-on-from-nix-3cb8ef181b1a528f.md): Railway · 2025-03-04 · Medium · 5 min read · Build systems, Containers, Go, Deployment, Caching
  Railway replaced its Nix-based builder Nixpacks with Railpack, a Go rewrite that generates BuildKit LLB graphs directly instead of linear Dockerfiles.

## 2025-02-16

- [Scaling Beyond Limits: Harnessing Route Server for a Stable Cluster](https://swe.quest/articles/scaling-beyond-limits-harnessing-route-server-for-a-stable-cluster-25826a1197db482d.md): Zalando Engineering · 2025-02-16 · Medium · 5 min read · Kubernetes, Load balancing, Scaling, Caching, Deployment
  Zalando put a Route Server between its Skipper ingress proxies and the Kubernetes API after roughly 180 Skipper instances per cluster, each polling Ingresses and RouteGroups, overloaded etcd and throttled the API server.

## 2024-12-26

- [Using Hyperdrive with Neon and Cloudflare Workers: FAQ](https://swe.quest/articles/using-hyperdrive-with-neon-and-cloudflare-workers-faq-3467430ed9174f03.md): Neon · 2024-12-26 · Medium · 5 min read · PostgreSQL, Serverless, CDN & edge, Caching, Performance engineering
  Cloudflare Hyperdrive is a globally distributed connection pooler and read-query cache for Workers.

## 2024-12-13

- [Building a NestJS App on Railway](https://swe.quest/articles/building-a-nestjs-app-on-railway-6bac96cda5fec5ce.md): Railway · 2024-12-13 · Medium · 6 min read · TypeScript, Deployment, Caching, PostgreSQL, Cloud platforms
  A NestJS app can run on Railway as a Dockerized service from a GitHub repo, with Redis for caching, Postgres via TypeORM, and in-process cron jobs.
- [Scaling a SaaS application on Railway](https://swe.quest/articles/scaling-a-saas-application-on-railway-5732010c40cc6710.md): Railway · 2024-12-13 · Medium · 10 min read · Scaling, Caching, CDN & edge, Deployment, Storage systems
  A Remix and PostgreSQL job board on Railway is scaled up with a staging environment tied to a \`stage\` branch, automatic vertical scaling, and horizontal replicas.

## 2024-11-12

- [Monitor These Key Neon Metrics Via Datadog](https://swe.quest/articles/monitor-these-key-neon-metrics-via-datadog-4c621c1afdac4161.md): Neon · 2024-11-12 · Medium · 5 min read · PostgreSQL, Observability, Caching, Performance engineering
  Neon now exports database metrics to Datadog via an API-key integration covering all computes in a project.

## 2024-11-06

- [ClickHouse Release 24.10](https://swe.quest/articles/clickhouse-release-24-10-7f9e82db64624418.md): ClickHouse · 2024-11-06 · Medium · 14 min read · Analytics & OLAP, Databases, Caching
  ClickHouse 24.10 adds a \`--copy\` mode and an \`--implicit-select\` calculator mode to clickhouse-local, a CLONE AS clause, real-time query metrics in the client, and a filesystem cache for S3 and Azure files.

## 2024-10-08

- [Building offline-first mobile apps with Supabase, Flutter and Brick](https://swe.quest/articles/building-offline-first-mobile-apps-with-supabase-flutter-and-brick-2c96e1b595fc5e17.md): Supabase · 2024-10-08 · Medium · 6 min read · Local-first & sync, Mobile, Caching, SQLite
  Brick is a Flutter data manager that keeps Supabase data in local SQLite and optional in-memory caches so apps behave the same with or without connectivity.

## 2024-09-05

- [Dynamically estimating and scaling Postgres’ working set size](https://swe.quest/articles/dynamically-estimating-and-scaling-postgres-working-set-size-9625ea29ef0bf2ef.md): Neon · 2024-09-05 · Medium · 12 min read · PostgreSQL, Algorithms, Capacity planning, Caching, Serverless
  Neon autoscales Postgres compute to keep the workload's working set in memory, using a modified HyperLogLog whose register bits are replaced with timestamps so the number of distinct pages accessed can be estimated for any lookback window.

## 2024-08-27

- [Introducing Web Cache API support on Deno Deploy](https://swe.quest/articles/introducing-web-cache-api-support-on-deno-deploy-30aea198ea4df954.md): Deno · 2024-08-27 · Medium · 4 min read · Caching, Serverless, JavaScript, CDN & edge
  Deno Deploy now offers beta support for the web-standard Cache API, giving serverless code semi-persistent storage for Request/Response pairs via caches.open(), cache.match() and cache.put().

## 2024-08-15

- [pg\_graphql 1.5.7: pagination and multi-tenancy support](https://swe.quest/articles/pg-graphql-1-5-7-pagination-and-multi-tenancy-support-559a18cac63b25ac.md): Supabase · 2024-08-15 · Medium · 2 min read · GraphQL, PostgreSQL, Multi-tenancy, Caching
  pg\_graphql 1.5.7 adds offset-based pagination alongside existing keyset pagination, per-role schema caching for schema-per-tenant multi-tenancy, and array filter operators.

## 2024-08-01

- [Use Turso as your Unkey cache store](https://swe.quest/articles/use-turso-as-your-unkey-cache-store-177ce1ca33005f50.md): Turso · 2024-08-01 · Medium · 2 min read · Caching, SQLite, TypeScript
  Turso can serve as the backing store for Unkey's \`@unkey/cache\` middleware library through its \`LibSQLStore\` adapter.

## 2024-07-15

- [How DatoCMS solved tag invalidation with Turso](https://swe.quest/articles/how-datocms-solved-tag-invalidation-with-turso-1cbed129b2d71763.md): Turso · 2024-07-15 · Easy · 3 min read · Caching, SQLite, Frontend
  DatoCMS's Content Delivery API attaches cache tags to every response and sends invalidated tags to the frontend via webhook, but Next.js limits a cache item to 64 tags.

## 2024-06-20

- [How We Made the Deno Language Server Ten Times Faster](https://swe.quest/articles/how-we-made-the-deno-language-server-ten-times-faster-b61c253ad0b180d5.md): Deno · 2024-06-20 · Medium · 7 min read · Performance engineering, Developer tools, TypeScript, Caching, Rust
  Deno cut language server auto-completion latency in large codebases from about 8 seconds to under one second by fixing how its Rust server synchronizes project state with the embedded TypeScript compiler (tsc).

## 2024-05-23

- [Distributing Global State to Serve over 1 Billion Daily Requests](https://swe.quest/articles/distributing-global-state-to-serve-over-1-billion-daily-requests-65554ed0d12e6461.md): Render · 2024-05-23 · Medium · 11 min read · Caching, Scaling, PostgreSQL, Load balancing, System design
  Render's request routers evolved from per-instance in-memory caches with 5-minute TTLs and database lookups on miss, which overloaded PostgreSQL on every redeploy and failed during database downtime, to push-based caching using PostgreSQL LISTEN/NOTIFY so routers never query the database in the hot path.

## 2024-05-17

- [Keeping it 100(x) with real-time data at scale](https://swe.quest/articles/keeping-it-100-x-with-real-time-data-at-scale-3b49e279c5a600f2.md): Figma · 2024-05-17 · Medium · 19 min read · Caching, Real-time systems, Scaling, PostgreSQL, System design
  Figma rebuilt LiveGraph, its real-time GraphQL-like subscription service over Postgres, to scale reads and database update load 100x as the database moved from one instance to vertical and horizontal shards.

## 2024-04-05

- [Build and Deploy a Global Serverless Nuxt SSR App with Cloudflare Hyperdrive and Postgres](https://swe.quest/articles/build-and-deploy-a-global-serverless-nuxt-ssr-app-with-cloudflare-hyperdrive-32566cf4580232ef.md): Neon · 2024-04-05 · Medium · 12 min read · Serverless, PostgreSQL, CDN & edge, JavaScript, Caching
  A Nuxt SSR app on Cloudflare Pages can query Neon Postgres through Hyperdrive by routing Drizzle's pg-proxy driver to a separate Hono-based Cloudflare Worker that holds the Hyperdrive binding and runs queries with node-postgres.

## 2024-03-21

- [Why We Built a Write Back Cache for Our Asset Library with Google Cloud Spanner](https://swe.quest/articles/why-we-built-a-write-back-cache-for-our-asset-library-with-google-cloud-spanner-916cbe4f50b5d115.md): Squarespace Engineering · 2024-03-21 · Medium · 6 min read · Caching, System design, Cloud platforms, Performance engineering, Storage systems
  Squarespace's Alexandria asset-library service moved write latency off the critical path by adding a Google Cloud Spanner write-back cache in front of Google Cloud Storage, where libraries are stored as header, segment and trash objects.

## 2024-03-05

- [Improving Shopify App’s Performance](https://swe.quest/articles/improving-shopify-app-s-performance-3211dcd650ae34c6.md): Shopify Engineering · 2024-03-05 · Medium · 8 min read · Mobile, React, Performance engineering, Caching
  Shopify cut its React Native mobile app's P75 launch time by 44% and screen load times by 59% over 2023, against targets of 2s launch and 500ms critical-screen loads.

## 2024-01-12

- [Using React Query with Next.js App Router and Supabase Cache Helpers](https://swe.quest/articles/using-react-query-with-next-js-app-router-and-supabase-cache-helpers-aaf0cb6afda9d12f.md): Supabase · 2024-01-12 · Medium · 7 min read · React, Frontend, Caching, TypeScript
  React Query can be paired with supabase-js in a Next.js App Router app by wrapping the root layout in a client-side QueryClientProvider and creating typed browser and server Supabase clients via @supabase/ssr.

## 2023-12-18

- [A Deep Dive into PolyScale’s Architecture](https://swe.quest/articles/a-deep-dive-into-polyscale-s-architecture-4fc7b2915489e809.md): Neon · 2023-12-18 · Medium · 11 min read · Caching, PostgreSQL, CDN & edge, Performance engineering
  PolyScale is a wire-protocol proxy cache that sits between an application and its database (here, Neon serverless Postgres), routing connections to the nearest edge PoP and caching query results with TTLs it learns automatically from arrival rate, result change rate and related "query templates".

## 2023-09-19

- [Rocket Money x Hugging Face: Scaling Volatile ML Models in Production​](https://swe.quest/articles/rocket-money-x-hugging-face-scaling-volatile-ml-models-in-production-acc7e904259d3114.md): Hugging Face · 2023-09-19 · Easy · 8 min read · Inference & serving, ML platforms, Machine learning, Caching, Payments & fintech
  Rocket Money replaced a regex-and-decision-table merchant detector with a BERT-family transformer classifier spanning 4000+ classes, served through Hugging Face's hosted Inference API rather than an in-house MLOps stack.

## 2023-08-23

- [Integrating the SWR library with a type-safe API client](https://swe.quest/articles/integrating-the-swr-library-with-a-type-safe-api-client-1c04e2ee619b8cd1.md): incident.io · 2023-08-23 · Medium · 9 min read · TypeScript, React, Caching, Frontend, Type systems
  incident.io replaced its homegrown useFetchData hook with SWR (stale-while-revalidate) in its React dashboard, while keeping the type safety of its OpenAPI-generated TypeScript client.

## 2023-08-09

- [Scaling the Instagram Explore recommendations system](https://swe.quest/articles/scaling-the-instagram-explore-recommendations-system-eef9723f73cee8af.md): Meta Engineering · 2023-08-09 · Medium · 9 min read · Recommendations & ranking, Machine learning, Caching, Scaling, Vector search
  Instagram Explore uses a four-stage funnel of retrieval, first-stage ranking, second-stage ranking and final reranking, built around caching and pre-computation so heavier models can be used at every stage.

## 2023-07-31

- [Load testing AAD-based authentication for Azure Cache for Redis](https://swe.quest/articles/load-testing-aad-based-authentication-for-azure-cache-for-redis-68079ecece30ad52.md): Engineering@Microsoft · 2023-07-31 · Medium · 5 min read · Performance engineering, Identity & auth, Caching, Testing, Cloud platforms
  Azure Cache for Redis load-tested its new AAD token-based authentication against access key auth to make sure token validation added no meaningful overhead on single-threaded Redis.

## 2023-04-19

- [How we built it: incident.io Status Pages](https://swe.quest/articles/how-we-built-it-incident-io-status-pages-37acc4f93c86c23d.md): incident.io · 2023-04-19 · Medium · 8 min read · Caching, React, Frontend, Serverless, CDN & edge
  incident.io built its Status Pages product in three months on Vercel and Next.js, using Incremental Static Regeneration with per-fetch revalidate times (e.g. 30s) so the backend serves only a couple of requests per minute regardless of traffic spikes.

## 2023-04-10

- [Supabase Logs: open source logging server](https://swe.quest/articles/supabase-logs-open-source-logging-server-cdf37ea81ed0d920.md): Supabase · 2023-04-10 · Medium · 6 min read · Observability, Caching, Elixir & Erlang, Open source, Analytics & OLAP
  Supabase Logs is now available for self-hosted and CLI users, built on Logflare, a multi-node Elixir cluster that ingests over 1 billion log events daily into BigQuery and has been relicensed from BSL to Apache 2.0.

## 2023-04-07

- [Designing with AI: Generating unique artwork for every user](https://swe.quest/articles/designing-with-ai-generating-unique-artwork-for-every-user-1fecb862c87a12d2.md): Supabase · 2023-04-07 · Medium · 8 min read · PostgreSQL, Serverless, Real-time systems, Caching
  Supabase's Launch Week 7 tickets combine Midjourney-generated artwork with a per-user Open Graph image pipeline built on the Supabase stack.

## 2023-02-09

- [Introducing the ClickHouse Query Cache](https://swe.quest/articles/introducing-the-clickhouse-query-cache-4c8e8c32056d93c8.md): ClickHouse · 2023-02-09 · Medium · 9 min read · Caching, Analytics & OLAP, Databases, Performance engineering
  ClickHouse v23.1 adds an experimental query cache that stores results of expensive SELECT queries for a configurable TTL (60 s by default), cutting a 9-second aggregation over 3.1 billion GitHub events to 0.04 s on repeat runs.

[Next page](https://swe.quest/index.md?per=96&tag=caching&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=caching](https://swe.quest/feed.xml?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)
