Rufus Kehinde·Just nowPartition It Before It Hurts: The Tradeoffs and Security Traps Nobody Tells YouA school keeps its exam scripts in one giant cabinet. Every script since the school opened is in there, in the order it arrived. For years…
Rufus Kehinde·1d agoRead Replicas Make Your Database Faster to Ask, Not Faster to Be RightImagine a company with one head office and ten branch shops. The head office keeps the official price list. Every branch holds a copy…
Rufus Kehinde·2d agoThe Two-Book Rule of Data Modeling: One Book for the Truth, One for the CrowdA shopkeeper keeps a ledger. Every sale goes in once, in order, with the amount, the item, and the customer. It is the most honest book in…
Rufus Kehinde·4d agoYour Database Will Tell You Exactly Why It Is Slow. Most People Never Ask.Anyone who has used a map app in a busy city knows two numbers. One is the time it promised when you set off. The other is the time the…
Rufus Kehinde·5d agoThe Cabinet of Index Cards That Makes a Database Fast and SlowPicture a school registry holding 2 million exam scripts, filed in the order they arrived. A parent asks for one student’s script. Without…A response icon1A response icon1
Rufus Kehinde·6d agoWhat Happens When 100,000 Devices Wake Up at the Same SecondImagine a city where every street lamp can phone a control room. One evening the power fails. When it returns, 100,000 lamps notice they…
Rufus Kehinde·Oct 28You think your API is slow because it takes time to return a response?Imagine you walk into a huge library and ask for page 50,000 of the catalogue. The librarian has no bookmark, so she starts at page 1 and…
Rufus Kehinde·Oct 26The Hidden Numbers That Decide How Many Users You Can Serve: Connection Pools, Worker Limits, and…The petrol station A petrol station has four pumps. Cars arrive, fill up and leave, and life is good. Then one driver parks at a pump and…
Rufus Kehinde·Oct 25Why Every Good System Learns to Say “Full”: A Practical Guide to Rate Limiting, Backpressure and…The conductor A bus conductor in a busy city has one job that matters more than any other: knowing when to say “full.” A bus that takes…
Rufus Kehinde·Oct 23Do Not Make the User Wait: A Practical Guide to Queues and Background Jobs, and Why Your Job Will…The laundry ticket You drop your clothes at a laundry and the attendant hands you a ticket with a number. You do not wait while the…