Using a filter, it should be fairly easy to write something like that.
2009/11/11 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cae,
On 11/10/2009 6:36 PM, Cae Fernandes wrote:
I wanna do a per-user basis transfer rate limit. My business
I wonder if Comet would be of any help.
I don't have any experience with that.
A filter/servlet solution would be easy to implement, but I'm afraid it
could hurt performance to be sleeping threads ..
On Wed, Nov 11, 2009 at 8:11 AM, pieroxy pier...@gmail.com wrote:
Using a filter, it should be
There is no reason it would hurt performance (and why are you mentioning
sleeping threads?).
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.
These tasks
Well,
It's not about counting the bytes, but making the connection slower.
Like, if I would output only a certain amount of bytes per second, i'd have
to output them and make the thread sleep for a certain amount of
miliseconds.That's why I mentiojned sleeping threads.
On Wed, Nov 11, 2009 at
-Original Message-
From: Cae Fernandes [mailto:rag...@gmail.com]
Sent: Wednesday, November 11, 2009 10:38 AM
To: Tomcat Users List
Subject: Re: tomcat: bandwidth limiter / transfer rate limit ?
Well,
It's not about counting the bytes, but making the connection slower.
Like
Cae Fernandes wrote:
Well,
It's not about counting the bytes, but making the connection slower.
Like, if I would output only a certain amount of bytes per second, i'd have
to output them and make the thread sleep for a certain amount of
miliseconds.That's why I mentiojned sleeping threads.
-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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 11/11/2009 1:43 PM, André Warnier wrote:
Cae Fernandes wrote:
Well,
It's not about counting the bytes, but making the connection slower.
Like, if I would output only a certain amount of bytes per second, i'd
have
to output them and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carlos,
On 11/10/2009 8:47 AM, Cae Fernandes wrote:
Is there any kind of bandwidth limiter ou transfer rate limiter readily
available for tomcat?
I know that for apache 2.2.x there is:
mod_curb - http://www.steve.org.uk/Software/mod_curb/
Well,
I've never run Apache before, I've been looking into MPM configuration for
tomcat, but it seems like running apache may be too much for tomcat, and I`m
afraid it could hurt performance in comparison to coyoto. Even though I've
seen a comparison between tomcat and apache httpd mpm, and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cae,
On 11/10/2009 6:36 PM, Cae Fernandes wrote:
I wanna do a per-user basis transfer rate limit. My business core sort of
depends on this.
It could be like a rapidshare type of business.
If you can't do this with a piece of network hardware, I
11 matches
Mail list logo