[Twisted-Python] htp example and twisted CPU usage

Andrew Bennetts andrew-twisted at puzzling.org
Sun Jul 20 04:42:35 EDT 2003

On Sun, Jul 20, 2003 at 03:20:09AM +0200, Jo?l Vennin wrote:
> Hash: SHA1
> Hello all,
>         I'm making an application with twisted and i have some problem with 
> it.
> I need to be able to limit bandwidth for a group of connection. A group of
> connection can be "incoming client" (client connect to the server) and/or
> "outcoming client" (server connect to the client).
> Another request is to limit the "global bandwidth" upload and download.
> I've take a look at the htb module in twisted.protocols but i'm not convinced
> about it.

Specifically, look at twisted.protocols.policies.  There's a
ThrottlingFactory in there that might help you.


More information about the Twisted-Python mailing list