Rate Limiter Algorithms
Simulate API traffic control mechanisms to prevent overload
Traffic Simulator
Control incoming request volume.
Traffic Mode
Steady normal traffic (0.6 req/sec)
Allowed
0Dropped (429)
0Live Visualization
token bucketToken Bucket Concept
Tokens are added to the bucket periodically (1 per sec). Each request consumes 1 token. If the bucket is empty, the request is dropped. Good for handling sudden traffic bursts.
Capacity: 5
Current: 5
Refill: 1/sec