VKVarun Kulkarniinoptimizesoftware.hashnode.dev·May 19 · 4 min readToken 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 00
VKVarun Kulkarniinoptimizesoftware.hashnode.dev·May 6 · 4 min readHow 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 00