RSRaghav Shuklainblog.raghavdev.in·9h ago · 10 min readBuilding an Event-Driven Payment System That Survived ~1 Million RequestsMost payment APIs work fine at low traffic. Then you throw a few thousand concurrent requests at them and everything gets interesting. Client retries turn into duplicate payments. Postgres starts cont31V
VPVijoy Paulinblog.vijoypaul.com·1d ago · 10 min readHow I Reduced API Response Time by 40% Using Redis Caching in Node.js A few months back, I started getting Slack messages that every backend engineer dreads: "hey, is the app slow for anyone else?" Nothing was down. No errors in the logs. Just... sluggish. Pages that us10
DPDevesh Parmarinbackend-bytes.hashnode.dev·2d ago · 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
SBSamanta Bindrainarchitecturedev.hashnode.dev·2d ago · 7 min readDistributed Rate LimitingMost discussions around rate limiting start with algorithms — Fixed Window, Sliding Window, Token Bucket, Leaky Bucket. After building and operating a distributed rate limiting layer, one thing become00
PKPrajit Kumar Singhinprajit-dev.hashnode.dev·3d ago · 5 min readThe Caching Debate: JSON vs. HSETAn architectural analysis reveals significant differences between managing session data with stringified JSON versus Redis Hashes (HSET). When handling high-throughput or time-sensitive data like an O00
ABAbhishek Batrainabhishek-codes.hashnode.dev·3d ago · 4 min readI Stopped Using Redis Pub/Sub for Submission Notifications in My LeetCode CloneWhile building my LeetCode clone, I came across an interesting design choice. Most people recommend using Redis Pub/Sub for real-time notifications: Judge Worker | v Redis Pub/Sub | v 00
YEYves Eychenneinyeychenne.hashnode.dev·3d ago · 9 min readSentinel loses writes by design. Here's a drop-in fix.Earlier this week I published the protocol: a small, formally-verified, total-order broadcast ring I co-invented in the 1990s and rebuilt in Rust. Today, the payoff - a proxy that puts an unmodified V00
RRishikantinrishiii2.hashnode.dev·4d ago · 6 min readWhy Your AI's "Infinite Memory" is Going to Crash Your ServerYou know how everyone is talking about giving AI "infinite memory" right now? I was thinking about this the other day. We keep hearing that new LLM frameworks "never forget" a conversation. But as dev00
PMPeace Melodiinpeacemelodi.hashnode.dev·Jun 22 · 5 min readBuilding a Flash Sale Engine That Cannot Oversell: Distributed Locking and Optimistic Concurrency in NestJSThe problem flash sales create Flash sales create one of the most unforgiving concurrency problems in backend engineering. Thousands of people request the same limited stock in the same instant. If tw10
TDTapan Dabraiintapandabrai.hashnode.dev·Jun 22 · 8 min readWhat Real Backend Development Looks LikeThe Day Production Stops Caring About Your Confidence You finally feel confident with Spring Boot. You can spin up a REST API in twenty minutes, wire up Postgres, add some validation, ship it. Then pr20