GBGagan BNingagan-bn.hashnode.devΒ·Apr 5 Β· 4 min readπ How Video Streaming Works (From FPS to Adaptive Bitrate)π§ The Basic Idea A video is nothing but a sequence of images (frames) played rapidly in succession. 30 FPS β 30 images per second 60 FPS β 60 images per second π More frames = smoother motion. H00
GBGagan BNingagan-bn.hashnode.devΒ·Apr 4 Β· 6 min readπ Rate Limiting Explained: Protecting Systems from Overloadπ§ What is Rate Limiting? Rate limiting is a mechanism used to control the number of requests a client can make to a server within a specific time frame. It helps: Prevent server overload Protect ag00
GBGagan BNingagan-bn.hashnode.devΒ·Mar 31 Β· 4 min readπ How Many Requests Per Second Can a Server or Database Handle?π§ The Big Question How many requests per second (RPS) can a server or database handle? At first, it feels like there should be a fixed number. But in reality: β There is no universal RPS number β I00
GBGagan BNingagan-bn.hashnode.devΒ·Mar 31 Β· 4 min readConsistent Hashing Explainedπ Why Do We Even Need Hashing? In distributed systems, we need to: Store data across multiple servers Retrieve it efficiently A simple approach is: server = hash(userId) % number_of_servers β Be00
GBGagan BNingagan-bn.hashnode.devΒ·May 3, 2025 Β· 4 min readπ Behind the Scenes of Asynchronous JavaScript: The Event Loop in DepthWe often hear that the event loop is responsible for handling asynchronous code in JavaScript. While thatβs true, today let's dive deeper into how the event loop works internally, especially in the context of Node.js. π Overview The event loop manag...00