You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lars Nielsen Lind <mo...@worldonline.dk> on 2005/07/22 07:05:25 UTC
Limitting bandwidth: Filedownload
Hi.
Is there a way to make two channels with Apache / Jakarta-Tomcat regarding
to the Internet connections bandwidth?
One channel serving jsp, html, gif, jpg, png files, another channel serving
pdf, xls, doc files. Lets say the bandwidth totally are 512 kb is it then
possible to define for instance 384 kb for the first channel and 128 kb for
the last channel, vice versa?
The files are physically placed in the filesystem outside of Apache /
Jakarta-Tomcat webapp directory and is fetched with a download servlet
component.
Best regards,
Lars Nielsen Lind
Re: Limitting bandwidth: Filedownload
Posted by Tim Funk <fu...@joedog.org>.
Sounds like you would need to write a servlet filter to perform the
throttling. I'd guess there are some out there that do similar.
-Tim
Lars Nielsen Lind wrote:
> Hi.
>
>
>
> Is there a way to make two channels with Apache / Jakarta-Tomcat regarding
> to the Internet connections bandwidth?
>
>
>
> One channel serving jsp, html, gif, jpg, png files, another channel serving
> pdf, xls, doc files. Lets say the bandwidth totally are 512 kb is it then
> possible to define for instance 384 kb for the first channel and 128 kb for
> the last channel, vice versa?
>
>
>
> The files are physically placed in the filesystem outside of Apache /
> Jakarta-Tomcat webapp directory and is fetched with a download servlet
> component.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org