Token Bucket: A Rate Limiting Algorithm We all have studied the Leaky Bucket technique while learning networking or system design. It’s one of the classic approaches used for traffic shaping and rate limiting. But in real-world distributed May 19 · 4 min readoptimizesoftware.hashnode.dev
How Reducing Database Calls Improved Performance by Nearly 20xSome backend performance problems are not caused by “slow SQL”. They are caused by: Too many database round trips N+1 query patterns Repeated execution overhead Treating the database like a local May 6 · 4 min readoptimizesoftware.hashnode.dev