STSagyam Thapainblog.sagyamthapa.com.np·Jun 25, 2025 · 3 min readAn Interactive Guide To Count Min SketchIntroduction Count min sketch is a probabilistic data structure that can estimate the frequency of items in a stream. It is an improvement over Hyperloglog. While hyperloglog can estimate the number of unique items in a fixed amount of data, count mi...00
STSagyam Thapainblog.sagyamthapa.com.np·Jun 20, 2025 · 6 min readAn Interactive Guide To Caching StrategiesIntroduction Word cache originates from French word cacher which means to hide. Outside computer science circle it refers to a secret place where you hide things, usually emergency supplies. In computer science though the meaning of the word is flipp...00
STSagyam Thapainblog.sagyamthapa.com.np·Jun 4, 2025 · 2 min readAn Interactive Guide To Rate LimitingIntroduction Rate limiting is a must have strategy in every back-end app. It prevent one user from overusing a resource and degrading the quality of service for other users. Here are some benefits of rate limiting It presents resource starvation Re...02VB
STSagyam Thapainblog.sagyamthapa.com.np·Jun 3, 2025 · 8 min readInstrument your NodeJS App With OpenTelemetryIntroduction Have you ever had a bug that occurred in production and you have no idea what went wrong because your logs won’t tell you exactly what went wrong or a request that takes usually long to process. Sometimes debugging these issues without a...00
STSagyam Thapainblog.sagyamthapa.com.np·May 25, 2025 · 9 min readScaling PostgreSQL with KubernetesA case for vertical scaling If you have read any article or a book on system design then you probably know what vertical and horizontal scaling is and benefits of horizontal scaling. Before I explain how to setup proper horizontal scaling with Postgr...00