---
title: "Comment by love on \"Designing a High-Throughput Distributed Rate Limiter: From Token Bucket to Redis Lua Scripts\" | Hashnode"
description: "Token bucket is a practical choice because it separates the sustained rate from the permitted burst size. Those two values should be configured independently; o"
url: "https://hashnode.com/posts/designing-a-high-throughput-distributed-rate-limiter-from-token-bucket-to-redis-lua-scripts/6a6819f5eb4dce2b3ac4f4a7/comment/6a992c8339f9794d695cfbc1"
---

[Discussion](https://hashnode.com/posts/designing-a-high-throughput-distributed-rate-limiter-from-token-bucket-to-redis-lua-scripts/6a6819f5eb4dce2b3ac4f4a7)

Comment [Designing a High-Throughput Distributed Rate Limiter: From Token Bucket to Redis Lua Scripts](https://hashnode.com/posts/designing-a-high-throughput-distributed-rate-limiter-from-token-bucket-to-redis-lua-scripts/6a6819f5eb4dce2b3ac4f4a7)

[love](https://hashnode.com/@alexboom)

[Sep 3](https://hashnode.com/posts/designing-a-high-throughput-distributed-rate-limiter-from-token-bucket-to-redis-lua-scripts/6a6819f5eb4dce2b3ac4f4a7/comment/6a992c8339f9794d695cfbc1)

Token bucket is a practical choice because it separates the sustained rate from the permitted burst size. Those two values should be configured independently; otherwise, increasing throughput may accidentally allow much larger traffic spikes than the downstream service can absorb.
