karnstack
  • Home
  • Courses
  • Tracks
  • Papers
  • Vote on next
Read
  • Stacktrace
  • Guides
  • Changelog
Unlock every courseSee plans
  • Support
ef51706
  1. Stacktrace
  2. #systems
Sign in
All posts
Topic

#systems

4 posts

systems
May 27, 20267 min read
#07

The 10ms Tick Under Pingora

Cloudflare's nginx replacement burns through millions of timeouts a second, most of which never fire. Their fix: round every deadline to the next 10ms, share one timer across everyone waiting for that slot, and let a single background thread sweep the whole thing. Result: timeouts that cost 4 nanoseconds instead of 107.

databases
Apr 27, 20267 min read
#06

TigerBeetle Would Rather Crash Than Guess

Two asserts buried in a financial database. One panics if your hardware lies about time. The other panics if you allocate memory after startup. Together, they're the whole philosophy.

systems
Jan 2, 20266 min read
#02

How nginx Tells Time Without Asking

A lock-free time cache lets millions of nginx requests read the current time without waiting for each other. 64 pre-allocated slots, a memory barrier, and a bet that your thread won't sleep for a full minute.

systems
Dec 1, 20255 min read
#00

The Bool That Holds Go's Ecosystem Hostage

A single boolean in Go's source code, if flipped from false to true, would instantly break thousands of packages. The Go team put it there on purpose.