Blog / performance

Posts tagged performance

3 posts filed under this topic.

  • HTTP Caching Is a Correctness Problem — Cache keys, freshness, validation, and invalidation are not performance trivia. A deep guide to Cache-Control, ETags, Vary, CDN behavior, stampedes, and the bugs that only appear when a cache is warm. 2026-11-04 · 17 min read
  • The Event Loop Is a Scheduler, Not a Queue — A deep guide to how JavaScript runs timers, promises, rendering, and I/O on one thread — in browsers and in Node.js — and why "setTimeout(fn, 0)" is not a promise to run immediately. 2026-10-30 · 18 min read
  • The Index Is Not a Magic Wand — Adding an index can make a query slower. A deep dive into PostgreSQL storage, B-tree internals, planner costs, composite indexes, write amplification, and the operational habits that keep an index set honest. 2026-10-24 · 18 min read