Traffic Control
4 logs in this series, ordered for step-by-step reading.
Traffic Control Series
<- HomeNginx as a Traffic Controller
A practical introduction to what Nginx does, why it usually sits in front of application servers, and how it controls HTTP traffic.
BackendHTTPNode.jsSystem Design
Rate Limiting with Nginx
A practical explanation of how Nginx rate limiting protects backend applications by controlling request frequency before traffic reaches application code.
BackendHTTPNode.jsSystem Design
Nginx vs Application Rate Limiting
A practical guide for deciding whether rate limiting should happen in Nginx, inside application code, or both.
BackendHTTPNode.jsSystem Design
Short Polling vs Long Polling: Choosing a Status Update Strategy
Understand how short polling and long polling retrieve changing server state, how their code differs, and when each strategy is appropriate.
BackendHTTPNode.jsSystem Design