Why One Discord Channel Could Slow Down EveryoneHot partitions, shared reads, a live database migration, and the deleted messages that froze it at 99.9999%10 min read·thebytemechanics.hashnode.dev251m ago
What Happens When 1 Million People Click Buy at Once?Load balancers, through one tap in a big sale: round robin, health checks, the server that dies mid-sale, and the cart that vanishes8 min read·thebytemechanics.hashnode.dev25d ago
What Happens When You Hit Search? Every Stop in 190 MillisecondsDNS, routers, TCP, TLS, the edge and the search itself, and why the same app can be four times slower7 min read·thebytemechanics.hashnode.dev25d ago
From 9 Seconds to 2 Milliseconds: Database Indexes ExplainedHow an index works, why it's a B-tree, and the one mistake that makes the database ignore it This query took nine seconds: SELECT * FROM users WHERE email = 'priya@example.com'; One line of SQL mad7 min read·thebytemechanics.hashnode.dev25d ago
From 3 Seconds to 3 Milliseconds: Caching ExplainedHow a cache makes apps fast, why stale data happens, and the stampede that takes sites down7 min read·thebytemechanics.hashnode.dev2Nov 5