Discover Centmin Mod today
Register Now

Nginx vs Open LiteSpeed performance & features comparison

Discussion in 'Feature Requests & Suggestions' started by nVidian, Apr 29, 2015.

  1. nVidian

    nVidian Member

    97
    8
    8
    Mar 16, 2015
    Ratings:
    +31
    Local Time:
    9:34 AM
    1.7.9
    5.5
    Hi I saw great news that Centminmod has plan to add OpenLiteSpeed as NGINX web server alternative.


    1. How is nginx vs openlitespeed performance comparison ?
    2. If using Open Litespeed is it mean that disk & traffic quota are not a limitation (compared to nginx) anymore ?
    3. What are OpenLiteSpeed limitation compared to LSWS (proprietary) ?
     
  2. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    10:34 AM
    Mainline
    10.2
    SSL - HTTP/2 - h2o vs OpenLiteSpeed vs Nginx SPDY/3.1 | Centmin Mod Community
    With Nginx, I didn't know about that limitation :/
    Editions - LiteSpeed Tech
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    See the following
    1. Centmin Mod Nginx vs OpenLiteSpeed vs Cherokee Benchmarks
    2. PHP Hello World - LiteSpeed Tech
    3. OpenLiteSpeed vs Nginx benchmarks and initial thoughts | vbtechsupport.com

    1. OpenLiteSpeed has similar if not better static file performance to Nginx depending on how Nginx is tuned i.e. Centmin Mod Nginx static file performance is better than out of box Nginx standard distro packages due to tuned settings.. But OLS has better PHP performance than Nginx's paired PHP-FPM. OLS LSAPI PHP scales better at higher concurrent PHP loads than PHP-FPM.

    2. not sure I understand that question ? disk and traffic quota don't have anything to do with web server used.

    3. OLS key difference is explained at Litespeed web server goes open source, OpenLiteSpeed | vbtechsupport.com basically, OLS doesn't support cpanel/WHM and doesn't support the actual .htaccess file itself, instead OLS requires Apache style mod rewrites to be entered into OLS admin console's respective vhost context section see screenshot posted at OpenLiteSpeed vs Nginx benchmarks and initial thoughts | vbtechsupport.com

    edit: oh and yeah Editions - LiteSpeed Tech
     
  4. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    10:34 AM
    Mainline
    10.2
  5. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah old blog post :)
     
  6. nVidian

    nVidian Member

    97
    8
    8
    Mar 16, 2015
    Ratings:
    +31
    Local Time:
    9:34 AM
    1.7.9
    5.5
    So LSWS > OLS > NGINX ??

    Yes, you're right. I mean NGINX doesnt has plugins to count & limit bandwidth (quota) like Apache has mod bandwidth.

    Say if I want to use NGINX as web server (Centminmod) for my hosting , can I limit traffic/bandwidth quota per vhost ?

    Btw, in your opinion, how is NGINX as reverse proxy (with Apache) vs NGINX as full web server performance comparison ? << I googling around but never find any clue.
     
    Last edited: Apr 29, 2015
  7. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    10:34 AM
    Mainline
    10.2
    Not really as I find LS and OLS latest release to be buggy.
     
  8. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    pretty much yes

    yeah OLS admin console vhost section can limit traffic = Per Client Throttling

    vhost_basic.png

    nginx reverse static file proxy + apache has similar static file performance to nginx but php performance isn't as good as full nginx due to apache backend.
     
  9. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah LS 5.0 and OLS 1.4.7 do have more bugs due to more newer features. Just needs testing and improvements - just like Centmin Mod .08 beta needs more testers and feedback ;)
     
  10. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    10:34 AM
    Mainline
    10.2
    Nginx on the bright side working without any bugs noticeable :)
     
  11. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    True although that doesn't factor in Nginx and it's HTTP/2 support yet - probably why Nginx taking alot longer to roll out HTTP/2 :)
     
  12. nVidian

    nVidian Member

    97
    8
    8
    Mar 16, 2015
    Ratings:
    +31
    Local Time:
    9:34 AM
    1.7.9
    5.5
    Wow what is that panel ? Open Lite Speed console or what ?

    For dynamic site, is it really noticeable ? 2x ? 3x ?
     
    Last edited: Apr 29, 2015
  13. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes OLS admin console

    Whether it's noticeable depends on your PHP related loads in terms of PHP concurrent usage loads. Most folks don't notice if they don't have that much concurrent PHP loads.
     
  14. Oxide

    Oxide Active Member

    534
    29
    28
    Mar 19, 2015
    Ratings:
    +59
    Local Time:
    12:34 PM
    Wow, litespeed. That would defiantly be interesting, wonder if its much faster at all..?
     
  15. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    out of box it would scale higher than standard OS distro offered nginx.. the gap won't be as wide with centmin mod nginx as it's better tuned out of the box. But you really need alot of traffic to see litespeed's benefits over nginx - but underlying premise is the using the right hardware/config for the right job.
     
  16. Oxide

    Oxide Active Member

    534
    29
    28
    Mar 19, 2015
    Ratings:
    +59
    Local Time:
    12:34 PM
    layer-7 ddos?
     
  17. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    has basics in litespeed enterprise and openlitespeed for rate limiting by ip address and requests etc divided into static and dynamic request control

    Litespeed Enterprise 4.x series
    upload_2015-9-29_3-52-15.png
     
  18. Oxide

    Oxide Active Member

    534
    29
    28
    Mar 19, 2015
    Ratings:
    +59
    Local Time:
    12:34 PM
    What I liked about Litespeed is that you can limit requests on dynamic files. For example PHP, there is no way to do this in Nginx far as I am aware. You can limit it for only php, but theres no like "location" ish defining to define only dynamic documents.
     
  19. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you can in nginx with php-fpm just set limit options within the php extension location match - that's what i do on my sites :)

    Code (Text):
    location ~ \.php$ {
    ...place your limit req or conn here
    }


    I do this for centmin.sh menu option 22 wordpress installer too Wordpress Nginx Auto Installer (WP Super Cache)

    i.e.
    Code (Text):
    location ~* /(wp-login\.php) {
        limit_req zone=xwplogin burst=1 nodelay;
        #limit_conn xwpconlimit 30;
        auth_basic "Private";
        auth_basic_user_file /home/nginx/domains/newdomain2.com/htpasswd_wplogin;   
        include /usr/local/nginx/conf/php-wpsc.conf;
    }
    
    location ~* /(xmlrpc\.php) {
        limit_req zone=xwplogin burst=2 nodelay;
        #limit_conn xwpconlimit 30;
        include /usr/local/nginx/conf/php-wpsc.conf;
    }
     
  20. Oxide

    Oxide Active Member

    534
    29
    28
    Mar 19, 2015
    Ratings:
    +59
    Local Time:
    12:34 PM
    yeah as i said only php.. but also then it seems like a mess, you also need your own setup to ban ips etc.. litespeed bans ips even on cloudflare if i remember right, it works with cloudflare the ban system