Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Apache2 High load web server

  1. #11
    Join Date
    May 2007
    Location
    Phoenix, Arizona USA
    Beans
    2,909
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Apache2 High load web server

    @syadnom, I agree with you for the traffic he has now, lighthttpd should be just fine. I'm sure it's not at 100mb since a T1 is only 1.5mb. I doubt seriously that bandwidth is a problem here, but I do agree that a reverse proxy would speed things up IF he gets a lot of concurrent requests.

    -Tim
    www.pcchopshop.net

    Hard to find and obsolete PC and server parts. "If we can't find it, it probably doesn't exist"

  2. #12
    Join Date
    Feb 2006
    Beans
    109

    Re: Apache2 High load web server

    a single T1 doesnt really fix the "high load" webserver part if it serving static content. If there was a ton of CGI or PHP or some other server side processing it might demand more performance but a T1 is only 192KB/s.

    For some perspective, I run a site on a 20Mb Fiber line. I have 1 web server and a seperate mysql server. I run a lot of php but it is basic stuff like <!php include file.html !> or mysql lookups and I have times that the whole pipe is saturated and the server is calmly handling all the requests with moderate load. The server is a dual core 3Ghz + 8GB RAM and a simple md mirror. The mysql server is the same specs except has mysql sitting on a 4 drive raid5 as I do mostly reads so wasnt terribly concerned with raid5 parity penalty on writes.

    for those that want Byte speeds, that is about 2.5MB/s.

    this is running apache 2.2.8 on ubuntu 8.04 64bit and the mysql is also on ubuntu 8.04 64bit (recent update, was on 7.04 for both)

    I also run lighttpd on the same server on a different port for some employee access pages and webdav, and those server the internal network which as about 100 users on 100Mb ethernet and have 500 more comming in over my VPN which is on another partition of 20Mb on that fiber.

    I used to run this all with a single apache setup but had some performance issues with the internal users which was mainly because of the webdav.

    I switched the internal site over to lighttpd and the webdav to lighttpd and now the same server, with the same amount of traffic performs much better.

    I dont mean to say apache is not awesome, because it really is. It is my first choice in webserver the vast majority of the time BUT lighttpd is an amazing LITTLE webserver and is much faster at doing the things it does because of sheer simplicity.

    I have never seen a faster webdav server. I have run apache1, apache2, and MS ISS and nothing is as fast.

    one weakness of lighttpd is speed of php execution. it can handle php and simply php is nice and fast(maybe faster than apache) but it does not scale up like apache does when running lots of php or lots of simultaneous php.


    Good luck.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •