WebSockets in System Design: When You Need a Persistent Connection
What are websockets: the websocket vs http comparison, the websocket connection lifecycle in six steps, and scaling websocket…
Tag
58 articles
What are websockets: the websocket vs http comparison, the websocket connection lifecycle in six steps, and scaling websocket…
The rate limiting algorithms that matter (token bucket, leaky bucket, sliding window) how distributed enforcement works across a…
What an API gateway does (routing, authentication, rate limits, transformation) how it differs from a reverse proxy and…
How a CDN serves content from edge servers near users; cache hits, origin fetches, TTLs, cache hit ratio,…
What a reverse proxy is, what it does (TLS termination, routing, security) how it differs from a forward…
What a load balancer does, how L4 and L7 balancing differ, which algorithm to pick (round robin, least…
Client server architecture explained: how the client server model works, stateless vs stateful servers, and the request response…
CAP says that during a network partition, a distributed system must choose between consistency and availability. Precise definitions,…
Availability is uptime, reliability is correct behavior over time, durability is data survival. Exact definitions, the nines table,…
Latency is the time one request takes; throughput is how many requests you serve. How they differ, why…