If you want to limit the speed of a download, then write a filter to
intercept the download and send out the data. It sends out X bytes of the
file at a time and then waits X seconds before it sends another X bytes of
the file and waits X seconds.

read
send
wait
read
send
wait
...
...

jon

On Sat, Aug 22, 2009 at 11:50 PM, Rick Mann <rm...@latencyzero.com> wrote:

> Thanks for the suggestion, but it's not really very helpful. I use
> Resin, and not Apache.
>
> On Aug 22, 2009, at 23:19:20, Jon Stevens wrote:
>
> > I wouldn't use Resin for that... I'd use apache2... and something
> > like this... http://codee.pl/cband.html
> >
> > jon
> >
> > On Sat, Aug 22, 2009 at 10:44 PM, Rick Mann <rm...@latencyzero.com>
> > wrote:
> > Is there any way to configure resin to limit the rate at which it will
> > send bits per resource? I have bandwidth limits on my server, and
> > would be interested in slowing down the downloads of files (but not
> > necessarily servlets).
> >
> > TIA,
> > Rick
> >
> >
> >
> > _______________________________________________
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
> >
> > _______________________________________________
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to