tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: tomcat: bandwidth limiter / transfer rate limit ?
Date Wed, 11 Nov 2009 21:43:37 GMT
-----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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message