Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

What kind of stack are people using for speed?

Discussion in 'Workarounds and Optimization' started by timmmmyboy, May 10, 2018.

  1. timmmmyboy

    timmmmyboy Member

    Joined:
    Aug 26, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We're looking at optimizing some servers for performance which is a huge topic with 100 opinions ranging from "optimize your code first" to "cache all the things". Let's assume this server would be running primarily WordPress and it's a mediumish-sized VPS with 8GB ram, 4 CPUs. I'm curious what folks are doing to mirror fancier setups like WP-Engine and Pantheon while still being able to have cPanel at the core. Some things we've either explored or are thinking about in some combination:

    * PHP 7 with Opcache
    * XVarnish (Varnish plugin for cPanel)
    * Engintron (Nginx plugin for cPanel)
    * PHP-FPM

    So yeah, I'd love to hear from others looking at stuff like this or folks who are running stuff in production that is working really well.
     
  2. rarod

    rarod Active Member

    Joined:
    Apr 20, 2017
    Messages:
    33
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I am using xVarnish (now Cachewall) in some servers. Some things to take in account.
    • There is no stable release at the moment.
    • In the lasts months their support is almost null.
    • HTTPs has some issues with mixing certificates between clients.
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,861
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    To my experience so far, Cachewall has been good. It has some issues at times, but if you speak about how it functions, then it is quite good.
    Engintron uses Nginx and Nginx is best well known for faster static content delivery.

    If you compare these both, I will advise Cachewall with having varnish cache to delivery more faster..

    The other option is redis, which you can consider..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. timmmmyboy

    timmmmyboy Member

    Joined:
    Aug 26, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ah yeah, that was one I forgot on my list but has been on my mind. Are there any good options out there that integrate Redis well with cPanel or are most folks doing manual installs?
     
  5. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    94
    Likes Received:
    14
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    You can setup nginx full page caching in redis to directly serve the page from redis instead of php+mysql . This is the fastest you can get with Wordpress
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,743
    Likes Received:
    110
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    I'd have to wonder what just plain nginx as a web server (no Apache) with PHP-FPM would look like.

    I would think that would probably provide the best performance at the best price.

    (Litespeed might be better, but there's a licensing fee. Nginx is free).

    Configuring nginx might be problematic, since that kind of setup is not natively supported by cPanel. But if you're not actively adding accounts or domains to the server, it might be possible to set it up and just leave it.
     
  8. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    94
    Likes Received:
    14
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    There are third-party plugins that provide native nginx support
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. mehdix92

    mehdix92 Member

    Joined:
    Jun 12, 2018
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Algeria
    cPanel Access Level:
    Root Administrator
    Engintron + Memcached with Mod_Isapi and you should see some serious numbers :)

    Server load at 1 with 500 accounts on it.
     
  10. gryzli

    gryzli Well-Known Member

    Joined:
    Jul 23, 2012
    Messages:
    47
    Likes Received:
    6
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you are having only WordPress based websites, then you could go just with Varnish + eventually some memory based storage (Redis or Memcache).

    You will need to have some good rules inside Varnish , which most of the times should handle the biggest part of the traffic.

    I don't think you will get much benefit from using Nginx + php-fpm, compared to Apache/mod_fcgid, especially if you have well configured caching layers (Varnish , and wordpress caching also).

    For the WP sites, you will also need some caching plugin enabled ,maybe W3TC with Disk Enhanced Caching (for a small/medium site) or using Memcache/Redis as a PageCache backend for some heavier web sites.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice