DPDevesh Parmarinbackend-bytes.hashnode.dev·1d ago · 6 min readWhen Horizontal Scaling Creates More ProblemsOn October 21, 2018, GitHub's engineers were doing routine maintenance, swapping a piece of failing network equipment between their East Coast data center and a network hub. The swap caused a connecti00
DPDevesh Parmarinbackend-bytes.hashnode.dev·Jul 19 · 5 min readEvent Sourcing vs CRUDOn January 31, 2017, an engineer at GitLab ran a command meant to clear a stalled replication database. He ran it on the wrong terminal, against the primary production database. In seconds, around 30000
DPDevesh Parmarinbackend-bytes.hashnode.dev·Jul 11 · 6 min readWhy Time Is Hard in Distributed Systems?In 2012, a leap second was added to UTC at midnight. Within hours, servers running Linux at Reddit, LinkedIn, Yelp, and several other companies started spiking CPU usage to 100% and locking up. Engine00
DPDevesh Parmarinbackend-bytes.hashnode.dev·Jul 5 · 5 min readWhy the Same Postgres Query Can Randomly Get Slower With No Code ChangeImagine you're the engineer on call when a dashboard query that normally runs in a few hundred milliseconds suddenly takes several seconds. Nothing in the query changed. No new indexes were dropped. C00
DPDevesh Parmarinbackend-bytes.hashnode.dev·Jun 27 · 6 min readDistributed Locks: The Bug That Only Shows Up Under LoadImagine you're the engineer at a ticketing platform during a major concert drop. Two users click "Book Seat 14B" at the exact same millisecond. Both requests hit different servers. Both servers read t00