[Twisted-Python] htp example and twisted CPU usage

Joël Vennin joel.vennin at wanadoo.fr
Sat Jul 19 21:20:09 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
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.

About CPU usage, i've tryed the example shaper which use htb, and when i
download something twisted take all my cpu.

If someone can help me about my request and can explain me why shaper example
take lots of cpu ...

Thanks for your reply

Jol
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Ge5QOzJ7itUoJpQRAsHNAJ0R0SkKHW/1rKTN+hOQJq13QXM2VQCfYA3y
5eMvLn5qhH3y69sGCd5LaPM=
=bw7I
-----END PGP SIGNATURE-----





More information about the Twisted-Python mailing list