[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: TOR -Token Bucket implementation



On Mon, Feb 22, 2010 at 01:29:39AM -0800, rkapoor@xxxxxxxx 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.

--Roger