blog.sagyamthapa.com.npAn 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...Jun 25, 2025·3 min read
blog.sagyamthapa.com.npAn 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...Jun 20, 2025·6 min read
blog.sagyamthapa.com.npAn 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...Jun 4, 2025·2 min read
blog.sagyamthapa.com.npInstrument 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...Jun 3, 2025·8 min read
blog.sagyamthapa.com.npScaling 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...May 25, 2025·9 min read