I recommend using apachebench (ab) to test your download speeds, and definitely
use the external ip, *not* localhost for your tests.
I'm not sure exactly the mechanism, but I can get quite different transfer
speeds while testing with localhost vs the external IP, perhaps because
localhost communications can, in some cases, be some over a shared memory
connection rather than over TCP/IP.
Also, make sure that your ethernet card is locked to a certain speed and not on
auto-detect, as that is a common high-speed download problem causer.
FWIW, here are a few things I've found about file download speeds with
aolserver:
1) you'll get quite different speeds depending on small vs large files, and
with different levels of concurrency. Also, be sure to look for occasional
high-latency outlying results, because I think it's really bad to make the
occasional person wait 5 seconds for a download to start.
2) aolserver is a totally acceptable performer for providing medium load
downloading services. But...so is apache. However, with its thread-based
server architecture, aolserver isn't so great if you plan on having several
thousand concurrent downloads.
3) Long ago, I believe that aolserver had an option for async http serving of
files, but I believe this was removed for code maintenance simplicity's sae.
4) I recommend using a dedicated "dumb" http server, such as nginx, lighttpd or
mathopd to provide download services. lighttpd provides a bandwidth throttling
feature, which I personally found very useful (mainly for minimizing the impact
of rogue, badly written http spiders). Lighttpd, however, isn't entirely
stable, and certainly nginx is the current darling for this use. Personally, I
like mathopd, because it's small, exceedingly stable, and has a very clean code
base.
5) 3 years ago, I did a benchmark of "hello world" using various http scripting
platforms, and aolserver was stupidly faster than everything (about 40x faster)
except when compared to pure java servers, where it was only 2x faster. :D
6) For all that, I find aolserver to be exceedingly good at serving lots of
small files.
-john
On Nov 10, 2011, at 8:55 PM, aT wrote:
> Downloads were done one after another, not in parallel.
>
>
>
> On Thu, Nov 10, 2011 at 10:13 PM, Jeff Rogers <dv...@diphi.com> wrote:
> Were you doing these two downloads at the same time over the same link? If
> so, you're probably just seeing effects of the network, not anything about
> the server itself.
>
> If OTOH you're doing each download separately on an otherwise idle connection
> and idle server, that would be very strange. There shouldn't be anything
> slowing the download once it has started.
>
> Also, note that the mailing lists have moved to sourceforge; the old listserv
> address is liable to stop working at any time.
>
> -J
>
> aT wrote:
> Hi ,
>
> Over a single internet connection i tried downloading a zip file from
> Aolserver and from Nginx. Aolserver was giving me download speed in my
> particular case 10-15 KB/s , whereas same file downloaded from Nginx
> with more than 800 KB/s .
>
> Both Nginx and Aoslerver (4.5.1) are hosted on the same server , same OS ,
>
> Is there any hidden resource limiting in Aolserver 4.5.1 ?
>
> Thanks in advance for any insight ,
>
>
> --
>
> -- AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to
> <lists...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the
> email message. You can leave the Subject: field of your email blank.
>
>
>
>
>
> --
> Syed Atif Ali
> Desk: 971 4 4493131
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1_______________________________________________
> aolserver-talk mailing list
> aolserver-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/aolserver-talk
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
aolserver-talk mailing list
aolserver-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk