Real systems, real code, broken down.

Deep-dive developer posts on scaling, system design, OS internals, AI, and the edge cases that break production — every post ships with real, working code.

Start reading →
// instance A, 10:00:00.100 wall clock
console.log(Date.now()); // 1735700400100

// instance B, same physical instant, clock running 400ms behind
console.log(Date.now()); // 1735700399700

from: Clock Skew: Why Date.now() Lies Across Servers, and Hybrid Logical Clocks

View all →
Scaling · Nov 1, 2026 · 8 min

The N+1 Query: How Your ORM Turns 1 Request Into 201

The order list page loads fine with 5 orders in dev and falls over with 10,000 in production. Here's the ORM lazy-loading trap that causes it, how to see it in the query log, and the two real fixes: eager loading and batching.

Scaling cover

Explore Topics

ScalingSystem DesignOS InternalsEdge CasesReviewsAI