Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


What's the fastest stack for Wordpress/WooCommerce/PHP?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

What's the fastest stack for Wordpress/WooCommerce/PHP?

Last month I've been producing videos for LowEndBox TV, you can one of videos here (shameless plug)

I want to publish videos about getting the most out of your buck and next topic is:

Fastest stack for WooCommerce

I want to get your solutions and I will benchmark all of them! I'm asking here because there is always some less obvious solution that gets job done.

What's your stack for WooCommerce?

Some panel or install manually?
OpenLiteSpeed + Redis + MariaDB?
Nginx + FastCGI + MySQL + page cache on tmpfs(RAM)?
Or maybe "forgotten" tweaked Apache, like the one in KeyHelp?
Custom nginx compilation with newest GCC, cloudflare hpack, zlib patch etc. like nginx-ee https://github.com/VirtuBox/nginx-ee ?

Give me your ideas and I will do extensive benchmarks so we will get definitive, updated answer to this question!

Curious about benchmarks? If there will be difference in performance between paid panels (DirectAdmin, Plesk) and free panels? Get subscribed so you won't miss this video ;)

Comments

  • jsgjsg Member, Resident Benchmarker

    Nice. But wouldn't it be desirable to have a clickable link to LEB/LET in the description?

    Thanked by 1AXYZE
  • I'd like to add a few.

    There's
    centminmod by @eva2000
    slickstack
    wordops
    webinoly

    Thanked by 1AXYZE
  • @jsg said:
    Nice. But wouldn't it be desirable to have a clickable link to LEB/LET in the description?

    Yes, that is great suggestion. :) @raindog308 could you do that please?

  • @mangamanga said:
    I'd like to add a few.

    There's
    centminmod by @eva2000
    slickstack
    wordops
    webinoly

    Using centminmod from April 2020. Rock solid, but I'm not sure if its still the fastest - CentOS7 kernel is very old and I saw big performance jump vs Ubuntu 22.04 on Ryzens/EPYCs in Geekbench. Even on Xeon v2 there was some jump.
    This will be one of things I will bemchmark - some panels support only Ubuntu/Devian, some CentOS...

    Centmin still doesnt support newer CentOS/Alma AFAIK, because it does many lowlevel optimisations in OS.

    @eva2000 could you please tell us more about current state of Centminmod? :) Did cloudflare/amazon zlib/hpack patches got merged into stable/mainline nginx? I saw some pull requests back in the day...

    Thanked by 1mangamanga
  • Only the costs of Control panel litespeed are completely wrong + don't forget hosters hold another remote big servers for backups.
    add the cost of WHMCS, Monitors, Staff, Installers, Imunify360, Kernelcare and etc..
    that you didn't put in your adding price.
    Also don't forget the 16 usd for cPanel it's cPanel Solo not the others, and not the cost of additonal users.

    Also one thing to remember, VPS out of the box won't have enchanted security for websites as shared hosting,
    Yeah you can use free WAF rules with alot of false positive(suffer from it alot from managing VPSs with directadmin), and need to exlude or adjust rules in modsecurity rules.

    Alot of deployment VPSs services not offer even modsecurity,
    so yeah sometimes VPS is better, but for the majority of people i think shared hosting cannot be replaced for most websites in terms of features and security.

  • and btw, WP+Woocommerce != fast .. never

  • @Advicerxyz said:
    Only the costs of Control panel litespeed are completely wrong + don't forget hosters hold another remote big servers for backups.

    Why completly wrong? I've got it from Litespeed page. I can get it cheaper somewhere else?
    Litespeed Enterprise Web Host Lite is cheapest I see with unlimited domains - cheaper one allows for just 5 domains and is limited really heavy with RAM so its not really fair comparsion with hosts that allows 10+ domains or unlimited (like MyW).

    add the cost of WHMCS, Monitors, Staff, Installers, Imunify360, Kernelcare and etc..
    that you didn't put in your adding price.
    Also don't forget the 16 usd for cPanel it's cPanel Solo not the others, and not the cost of additonal users.

    I mentioned features to show great value of shared hosting. Ofc I could include everything possible, but I didnt want to create edge-case with features available just in 3 hostings. I mentioned things that majority of providers will have. Its difficult to compare 1:1, because every provider has slighlty different option so its just couple examples so people watchibg will know how much they would spend just on licenses.

    Softaculous is installer and I included it, you meant different kind of installer?

    VPSes also require staff, WHMCS, monitoring, Im not sure why you say about that in shared vs VPS context.

    Also one thing to remember, VPS out of the box won't have enchanted security for websites as shared hosting,
    Yeah you can use free WAF rules with alot of false positive(suffer from it alot from managing VPSs with directadmin), and need to exlude or adjust rules in modsecurity rules.

    Thats true, thats why we have WAFs such as cPGuard (RackNerd has it, protects really good).
    But we also cannot tell that shared hosting = best security, as there are a lot of hosts that cut corners there. Dor example last year i tried host hostido.pl which has Imunify360... but it was disabled on default, not even alert mode!

  • @Anayx said:
    and btw, WP+Woocommerce != fast .. never

    You meant that WooCommerce cant be fast?

    One of my clients is using WP+WooCommerce+Divi theme and has a lot of pageviews. It should be slow, he is running like 30 plugins... but because of nginx caching it is super fast! :)

    Without cache it was painfully slow, but with cache his OVH dedi has just like 1-5% CPU usage, a lot of headroom.

  • eva2000eva2000 Veteran
    edited February 2023

    @AXYZE said: Centmin still doesnt support newer CentOS/Alma AFAIK, because it does many lowlevel optimisations in OS.

    @eva2000 could you please tell us more about current state of Centminmod? Did cloudflare/amazon zlib/hpack patches got merged into stable/mainline nginx? I saw some pull requests back in the day...

    Centmin Mod has 2 branches, 124.00stable and 130.00beta01. Both publicly support CentOS 7 only. But 130.00beta01 branch is where all the EL8/EL9 development work is for AlmaLinux and Rocky Linux 8/9 support and currently, there's a private beta forum on the official Centmin Mod forum which makes available an installer that allows 130.00beta01 to be installed and run on AlmaLinux and Rocky Linux EL8 OSes. If you're on official Centmin Mod community forums at https://community.centminmod.com/ I can invite you and give you access to the private beta for Centmin Mod 130.00beta01 for EL8 testing.

    You can see all the public discussion and work being done via AlmaLinux thread prefix filtered URL at https://community.centminmod.com/forums/centos-redhat-oracle-linux-news.31/?prefix_id=83

    Centmin Mod Nginx doesn't use official Nginx binaries which don't merge Cloudflare patches etc. As such Centmin Mod 130.00beta01 supports Nginx built with more options that official Nginx binaries don't have. Like

    • Nginx built with optional compilers like Clang as well as GCC 4.8.5 on CentOS 7/GCC 8.5 on EL8 as well as supporting GCC 11 on CentOS 7 and GCC 12 compilers on EL8.7+ and EL9.1+. So you can tailor how Nginx is built towards the specific CPU your servers run too :)
    • Nginx supports user choice in selecting crypto library that Nginx is built with - OpenSSL 1.1.1/3.0, LibreSSL, BoringSSL as well as quicTLS forked OpenSSL 1.1.1/3.0 for official Nginx QUIC/HTTP3 eventual support https://community.centminmod.com/threads/official-nginx-http-3-quic-tech-preview-announced.19865/page-2#post-95725
    • Centmin Mod Nginx also supports both native OS zlib as well as Cloudflare zlib library so you can choose which you want to use and optionally full HTTP/2 HPACK encoding support as well.

    i.e. GCC 12 for Centmin Mod Nginx + quicTLS (openssl 1.1.1t forked with QUIC support) for Nginx HTTP/3 on Almalinux 8 VPS :)

    nginx -V
    nginx version: nginx/1.23.4 (080223-181356-almalinux8-redhat-kvm-699311e)
    built by gcc 12.1.1 20220628 (Red Hat 12.1.1-3) (GCC)
    built with OpenSSL 1.1.1t+quic 7 Feb 2023

    Thanked by 2AXYZE mrTom
  • With all the LEMP stacks out there, I think CMM is the fastest for Nginx and PHP-FPM services.
    But you can also try something that is not common but also faster.

    Linux > Nginx > Unit > PHP.
    Not PHP-FPM based.

    Thanked by 1AXYZE
  • eva2000eva2000 Veteran
    edited February 2023

    @Roldan said:
    With all the LEMP stacks out there, I think CMM is the fastest for Nginx and PHP-FPM services.
    But you can also try something that is not common but also faster.

    Linux > Nginx > Unit > PHP.
    Not PHP-FPM based.

    Not sure how much as changed but I benchmarked Nginx Unit Application Proxy with embedded PHP instead of PHP-FPM 6 yrs ago and yes Nginx Unit's embedded PHP if tested directly is faster than PHP-FPM but once you put Nginx web server in front of Nginx Unit App proxy, PHP performance ends up about the same as the bottleneck is Nginx web server itself in how fast embedded PHP or PHP-FPM performs. Benchmarks at https://community.centminmod.com/threads/nginxs-unit.12803/#post-54905

    Nginx Unit embedded PHP managed 282.95 req/s when directly tested but put it behind Nginx proxy it's embedded PHP performance drops back down to 131-170 req/s compared to at the time Centmin Mod Nginx with PHP-FPM between 146-170 req/s

    head -n1 /usr/local/var/log/siege.log; tail -18 /usr/local/var/log/siege.log
          Date & Time,  Trans,  Elap Time,  Data Trans,  Resp Time,  Trans Rate,  Throughput,  Concurrent,    OKAY,   Failed
    **** nginx-unit-php5631 ****
    2017-09-23 20:10:42,   8279,      29.26,         818,       0.35,      282.95,       27.96,       97.74,    8281,       0
    **** cmm-nginx-php-fpm-5631 ****
    2017-09-23 20:12:25,   4289,      29.33,         439,       0.51,      146.23,       14.97,       74.78,    4303,       0
    **** cmm-nginx-php-fpm-5631-static-pm ****
    2017-09-23 20:16:44,   4834,      29.96,         495,       0.48,      161.35,       16.52,       77.54,    4857,       0
    **** cmm-nginx-php-fpm-5631-dynamic-pm ****
    2017-09-23 20:20:50,   5134,      30.10,         528,       0.45,      170.56,       17.54,       77.22,    5173,       0
    **** cmm-nginx-php-fpm-5631-dynamic-pm-maxchild40-maxspare36 ****
    2017-09-23 20:24:45,   3581,      29.85,         370,       0.60,      119.97,       12.40,       72.45,    3633,       0
    **** cmm-nginx-php-fpm-5631-dynamic-pm-maxchild40-maxspare36-run2 ****
    2017-09-23 20:29:35,   4804,      29.67,         497,       0.37,      161.91,       16.75,       59.66,    4868,       0
    **** nginx-unit-php5631-20-workers ****
    2017-09-23 20:39:22,   6913,      29.89,         683,       0.41,      231.28,       22.85,       94.66,    6914,      95
    **** nginxproxy-unit-php5631-20-workers ****
    2017-09-23 20:49:26,   5182,      29.68,         514,       0.48,      174.60,       17.32,       84.57,    5205,       0
    **** nginxproxy-unit-php5631-10-workers ****
    2017-09-23 20:55:08,   4318,      30.03,         427,       0.60,      143.79,       14.22,       85.98,    4319,       0
    **** nginxproxy-unit-php5631-30-workers ****
    2017-09-23 20:58:20,   3920,      29.79,         387,       0.74,      131.59,       12.99,       97.14,    3920,       0
    
    Thanked by 2AXYZE Roldan
  • @AXYZE said:
    Last month I've been producing videos for LowEndBox TV, you can one of videos here (shameless plug)

    I want to publish videos about getting the most out of your buck and next topic is:

    Fastest stack for WooCommerce

    I want to get your solutions and I will benchmark all of them! I'm asking here because there is always some less obvious solution that gets job done.

    What's your stack for WooCommerce?

    Some panel or install manually?
    OpenLiteSpeed + Redis + MariaDB?
    Nginx + FastCGI + MySQL + page cache on tmpfs(RAM)?
    Or maybe "forgotten" tweaked Apache, like the one in KeyHelp?
    Custom nginx compilation with newest GCC, cloudflare hpack, zlib patch etc. like nginx-ee https://github.com/VirtuBox/nginx-ee ?

    Give me your ideas and I will do extensive benchmarks so we will get definitive, updated answer to this question!

    Curious about benchmarks? If there will be difference in performance between paid panels (DirectAdmin, Plesk) and free panels? Get subscribed so you won't miss this video ;)

    I don't claim to be the fastest but I was able to max out the pipe on a NetCup VM

    https://loader.io/reports/6b91ea42bf6582873aa7d24a0409887f/results/d9d291021972964d314bb46a72fab357

    I created this for my DevOps solution primarily designed for WordPress and PHP

    https://github.com/noamanahmed/LEMP

    If you have suggestions, i would improve it further.

    Thanked by 2AXYZE mrTom
  • I think most stacks do well in terms of handling static requests. Real issue is dynamic requests which can be only be fixed at application level by writing quality code and using transients wherever possible. Woo is limited by architecture but improving. Most of these stacks perform nearly equal at handling woocommerce cart and checkout pages (uncached). Some large stores based on Woo uses ESI to improve the performance.

    Thanked by 1AXYZE
  • @noaman said:

    @AXYZE said:
    Last month I've been producing videos for LowEndBox TV, you can one of videos here (shameless plug)

    I want to publish videos about getting the most out of your buck and next topic is:

    Fastest stack for WooCommerce

    I want to get your solutions and I will benchmark all of them! I'm asking here because there is always some less obvious solution that gets job done.

    What's your stack for WooCommerce?

    Some panel or install manually?
    OpenLiteSpeed + Redis + MariaDB?
    Nginx + FastCGI + MySQL + page cache on tmpfs(RAM)?
    Or maybe "forgotten" tweaked Apache, like the one in KeyHelp?
    Custom nginx compilation with newest GCC, cloudflare hpack, zlib patch etc. like nginx-ee https://github.com/VirtuBox/nginx-ee ?

    Give me your ideas and I will do extensive benchmarks so we will get definitive, updated answer to this question!

    Curious about benchmarks? If there will be difference in performance between paid panels (DirectAdmin, Plesk) and free panels? Get subscribed so you won't miss this video ;)

    I don't claim to be the fastest but I was able to max out the pipe on a NetCup VM

    https://loader.io/reports/6b91ea42bf6582873aa7d24a0409887f/results/d9d291021972964d314bb46a72fab357

    I created this for my DevOps solution primarily designed for WordPress and PHP

    https://github.com/noamanahmed/LEMP

    If you have suggestions, i would improve it further.

    Impressive result!

  • Litespeed + lscache
    Or (ngx_pagespeed / caddy) + varnish cache

    Thanked by 1AXYZE
  • jessuppijessuppi Member
    edited February 2023

    @mangamanga said:
    I'd like to add a few.

    There's
    centminmod by @eva2000
    slickstack
    wordops
    webinoly

    Thanks for the shout out, folks!

    If anyone is interested, here's a brief update on SlickStack:

    https://lowendtalk.com/discussion/183972/update-on-slickstack-project-and-thanks-to-let

    https://github.com/littlebizzy/slickstack

    https://slickstack.io/install

    I also think it's worth mentioning that I believe "stability" is just as important, and probably more important, than the raw "speed" of your stack (which may depend on config), because ultimately your performance and SEO signals are only as good as your ability to maintain them consistently over time. B)

    Thanked by 1mrTom
    • 1 for wordops and cmm!
    Thanked by 1AXYZE
Sign In or Register to comment.