-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pieroxy,

On 11/11/2009 12:04 PM, pieroxy wrote:
> There is no reason it would hurt performance (and why are you mentioning
> sleeping threads?).

Well, if bytes are available for sending faster than the
bandwidth-limiter is willing to go, then.. you ... have ... to ....
wait. How else to wait other than sleeping your thread? Do-nothing loop?

> In any case, you need to count the number of bytes transferred, and the
> filter would do just that. Then you probably need to persists this
> information along with the logged in user somewhere.

Logging is not sufficient. The OP wants to /limit the bandwidth/ of the
connection, not just do accounting on it.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr7MAkACgkQ9CaO5/Lv0PDE2ACeJHsAiJ1V/KHnImljbD5+7mLe
KzgAn0pUadZI4h6SautEJslV0BUJvUGf
=z5Hk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to