TOR -Token Bucket implementation

Roger Dingledine arma at
Mon Feb 22 10:56:47 UTC 2010

On Mon, Feb 22, 2010 at 01:29:39AM -0800, rkapoor at wrote:
>  I am new to the TOR community. While reading through the tor performance
> issues, I found out that TOR uses token bucket implementation for rate
> limiting.
> I am planning to implement Hierarchical token bucket as part of my class
> project
> in TOR.
> Seeking feedback/opinions from tor community regarding the same.

What did you have in mind? Note that we have a global token bucket
for reads, another for writes, plus read/write buckets for "relayed"
traffic, and then yet another set of read/write buckets for each TLS
connection. So in a sense there is some hierarchy already.


More information about the tor-dev mailing list