2001-11-03 16:43:49

by Roy Sigurd Karlsbakk

[permalink] [raw]
Subject: Re: [khttpd-users] khttpd vs tux

> tux is more advanced than khttpd. It's also more intrusive to the kernel as
> far as core changes are concerned. These changes allow for higher
> performance, but you'll only notice that if you want to fill a gigabit line
> or more.....

Are there any good reasons why to run khttpd, then?
What I need is a server serving something between 50 and 500 concurrent
clients - each downloading at 4-8Mbps.

Which one would be best? Anyone have an idea?

thanks

roy

---
Computers are like air conditioners.
They stop working when you open Windows.


2001-11-03 20:25:25

by Dirk Moerenhout

[permalink] [raw]
Subject: Re: [khttpd-users] khttpd vs tux

> Are there any good reasons why to run khttpd, then?
> What I need is a server serving something between 50 and 500 concurrent
> clients - each downloading at 4-8Mbps.

Are those people doing tons of requests or are they just downloading large
files? If they are downloading large files the type of serversoftware will
be the least of your problems. About anything can give you the full
bandwidth you can put out on your networkcards when you are serving few
requests and are just pushing out mass amount of data.

When it comes to serving people such huge amount of data you should also
take in mind that buying one big machine is not allways the right road to
take.

As an example say that the data you're serving is less than 36GB in total.
In that case you can easily buy 4 typical 2U rackmount servers with 9GB
RAID1/36GB RAID1, Dual CPU, enough RAM, 1Gb NIC and pay less than a 8-Way
system. Furthermore those 4 servers give you more redundancy (one can
literally go up in smoke and you still lose only 25% power), they will in
scale better and so on and so on.

In the end, unless you are handling tons of requests, your concern should
be what hardware servers/switches/routers you need and certainly not what
software. That discussion by itself would off course get quite off topic
for lkml.

Dirk Moerenhout ///// System Administrator ///// Planet Internet NV