How Good Is lighttpd ?

Discussion in 'Site & Server Administration' started by KoolFreak, Oct 25, 2008.

  1. #1
    How Good Is lighttpd Compared to apache
     
    KoolFreak, Oct 25, 2008 IP
  2. Thirtysixway

    Thirtysixway Peon

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I like both of them, they have their strengths and weaknesses. Lighttpd seems to be the better choice for serving downloads and files, Apache seems better for more robust systems. I did a little Apache vs Lighttpd on my own home server. I posted the results on my blog.

    http://blog.noobbox.com/2008/09/apache-vs-lighttpd.html

    Lighttpd had an overall quicker response time and uses less system resources, but some things aren't compatible with it like .htaccess files and scripts that depend on .htaccess for url rewrites (drupal, wordpress) although you can get it to work.
     
    Thirtysixway, Oct 25, 2008 IP
  3. KoolFreak

    KoolFreak Banned

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    there is a rewrite type thing in lightppd too i guess
     
    KoolFreak, Oct 25, 2008 IP
  4. gsv13

    gsv13 Well-Known Member

    Messages:
    2,773
    Likes Received:
    114
    Best Answers:
    0
    Trophy Points:
    130
    #4
    lighttpd is paid?
     
    gsv13, Oct 25, 2008 IP
  5. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #5
    Bohra, Oct 25, 2008 IP
  6. mortenb

    mortenb Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    As it stands right now, Lighttpd and even more so nginx are the servers of choice when it comes to serving static files. Both are extremely fast and can serve images and other static files much much faster than apache and with much less memory use.

    Apache is still the king when it comes to PHP sites and many other dynamic things.
     
    mortenb, Oct 26, 2008 IP
  7. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #7
    True, lighty needs more development to compete in the dynamic serving area...it leakes memory a lot in that case. For static file serving, it's hard to beat.
     
    agnivo007, Oct 27, 2008 IP
  8. ceetoe

    ceetoe Peon

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Lighttpd is free but another server with similar name, Litespeed, is a paid server.
     
    ceetoe, Oct 27, 2008 IP
  9. Ladadadada

    Ladadadada Peon

    Messages:
    382
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #9
    My old boss did some benchmarking with Lighttpd and PHP and found it to be a big improvement.

    Results for Lighttpd with PHP and Lighttpd with Symfony

    There are some downsides but they seem to be significantly outweighed by the upsides.

    That said, we never got around to actually implementing the switchover to Lighty on any production servers.
     
    Ladadadada, Oct 27, 2008 IP
  10. TG_Kenneth

    TG_Kenneth Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    My site is using lighttpd.........very good performance:)
     
    TG_Kenneth, Oct 28, 2008 IP
  11. StarDOOM

    StarDOOM Banned

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Its crap. Thats my opinion.
     
    StarDOOM, Oct 29, 2008 IP
  12. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Yea, only if you try running php web proxies with high-traffic.
     
    agnivo007, Oct 29, 2008 IP
  13. xxdomainxx

    xxdomainxx Banned

    Messages:
    707
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #13
    If your server config is low go with lighttpd
    Although rewriting the .htaccess codes is a real pain :(
     
    xxdomainxx, Oct 29, 2008 IP