Skip to content
Why Rate Limiting Should Use Token Bucket Not Leaky Bucket episode artwork

Jul 7, 2026 8 min

Why Rate Limiting Should Use Token Bucket Not Leaky Bucket

from The Developer Tools Podcast with Fexingo: APIs, Infrastructure, and Software for Engineers Hosted by Fexingo

Lucas and Luna dive into the difference between token bucket and leaky bucket rate-limiting algorithms, using the real-world example of GitHub's GraphQL API migration in 2022. They explain why token bucket handles sudden bursts better for modern API consumers, how Discord's rate limits caused a developer revolt in 2023, and why many APIs default to the wrong algorithm. Specific numbers: GitHub's original 5000 requests per hour leaky bucket vs. their new 5000 points per hour token bucket with a 500-point burst window. The hosts also discuss how to choose the right algorithm based on whether your API serves B2B integrations or consumer mobile apps. #RateLimiting #TokenBucket #LeakyBucket #GitHub #GraphQL #Discord #APIDesign #Scalability #Backend #DeveloperExperience #BusinessAndTechnology #FexingoBusiness #BusinessPodcast #Engineering #Infrastructure #Webhooks #Throttling #APIStrategy Keep every episode free: buymeacoffee.com/fexingo

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Why Rate Limiting Should Use Token Bucket Not Leaky Bucket

0:00 8:40

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The Developer Tools Podcast with Fexingo: APIs, Infrastructure, and Software for Engineers?

This episode is 8 minutes long.

When was this The Developer Tools Podcast with Fexingo: APIs, Infrastructure, and Software for Engineers episode published?

This episode was published on July 7, 2026.

Can I download this The Developer Tools Podcast with Fexingo: APIs, Infrastructure, and Software for Engineers episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.