Development Lightweight web servers

Discussion in 'Software' started by simon w, 8 Oct 2006.

  1. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    I'm currently using LightTPD as my web server, but I've recently noticed that this package has disappeared from the Debian testing repositories and is now only available in unstable :(

    This means I'm looking for a new, lightweight web server. So far I've found Cherokee which is in testing. Does anyone have any experience with this and/or any other suggestions?
     
  2. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    Are you looking for static content server only?
     
  3. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    Nah, it'll be serving PHP files too. I currently do this via fastcgi.
     
  4. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    I was looking into this before, but mainly for DSL. I found that they reccomended Monkey which does CGI and PHP.
     
  5. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    I don't know a lot about lightweight servers, but apache2 doesn't seem so heavy to me (but I must admit, all my webservers run on decent machines >1500MHz or Xeon 2,8), and they get hammered quite hard too (average 20-50 users online all the time), with PHP, CGI and ASP (mono package) parsing...
     
  6. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    Cheers Doug, I'll check it out later, can't seem to access the debian repos for it atm.

    Glider, while Apache2 is generally better than Apache1.3, it still uses a lot of memory. This particular server is a VPS with 128 MB RAM and shared usage of an Opteron 246. Apache isn't a viable option here.

    Oh, I wouldn't say 50 concurrent connections is "hard" ;) According to apache bench, my ickle server tops out at 259 concurrent connections (for simple echo 'helloworld'; page) . I guess I could just spawn more PHP processes, but this is just a play/development server so there's no point.
     
    Last edited: 8 Oct 2006
  7. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
  8. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    50 average :D Spikes are a 5-10 fold that (certainly if users use the fasterfox plugin...) Haven't run the apache benchmark, fellow members probably won't like it if I flood their webserver ;)

    But 128MB might be a little lowish, I agree ;)
     
  9. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    I was looking for someone else to maintain a package. Can't be bothered doing it myself :p

    Not sure about Monkey. I don't think it has any url rewriting or authentication modules :(
     

Share This Page