Abhishek Kr·Mar 16High-performance rate limiter using ring buffersA high-performance rate limiter using ring buffers is useful when you want very low latency and minimal locking, similar to techniques used…
Abhishek Kr·Dec 7, 2024Two pointer technique implementationQ.1 3Sum Problem: Find all unique triplets in an array that sum up to zero using a two-pointer technique.
Abhishek Kr·Dec 6, 2024Variadic Templates in C++Variadic templates in C++ allow you to write templates that can accept an arbitrary number of template arguments. This feature was…A response icon1A response icon1
Abhishek Kr·Dec 6, 2024std::weak_ptr in C++A std::weak_ptr is a smart pointer that holds a non-owning (weak) reference to an object managed by a std::shared_ptr. It is primarily used…
Abhishek Kr·Dec 2, 2024Rate limiting AlgorithmsRate limiting algorithms are techniques used to control the rate of requests or operations in systems like APIs, servers, or distributed…
Abhishek Kr·Nov 27, 2024WebRTCWebRTC (Web Real-Time Communication) is a technology that allows web browsers and mobile applications to directly exchange audio, video…
Abhishek Kr·Nov 27, 2024Event Ordering in Distributed SystemEvent ordering in distributed systems is crucial to ensure consistency, coordination, and correctness, especially when multiple processes…