Learn about Centmin Mod LEMP Stack today
Become a Member

centminmod performance with/without opcache, memchace, memcached, memcached server

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by arlon, Mar 4, 2016.

Tags:
  1. arlon

    arlon Member

    95
    6
    8
    Feb 20, 2016
    Ratings:
    +12
    Local Time:
    3:50 PM
    1.13.6
    10.1
    helo


    i'm confusing about opcache, memchace, memcached, memcached server, i don't know if i need all of them or not, and i don't know if them boost my web performance or not
    whats the differences of them?
    how to becnhmark my web(https) and compare result with/without opcache, memchace, memcached, memcached server?

    has the performance comparison with/without opcache, memchace, memcached, memcached server been published in this forum?
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,417
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,837
    Local Time:
    6:50 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @arlon take a read of PHP Opcode and Memcached statistics pages | Centmin Mod Community to get an overview of what's what.

    They all benefit your site's performance if you web application can utilise it. Xenforo, vBulletin, Wordpress all benefit from them if they're configured correctly from their web app's respective documentation.

    You can use Performance and Load Testing from the Cloud - Blitz by Spirent to benchmark sites or siege benchmark included and installed with Centmin Mod. Though siege consumes cpu and memory itself so running it on same server being tested isn't entirely accurate, best to run from separate server. Blitz.io is easiest to do.

    I posted various benchmark runs on my Wordpress7 site here wordpress7.centminmod.com - Centmin Mod LEMP stack Wordpress Auto Installer on CentOS 7.0 and at Benchmarks - CentminMod.com LEMP Nginx web stack for CentOS

    specific examples
    fyi, without caching, Wordpress would be lucky to be able to achieve 50-250 hits/second depending on PHP version

    There is no situation really where you won't benefit greatly from implementing caching for your web app :)
     
    Last edited: Mar 4, 2016
  3. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    4:50 PM
    Mainline
    10.2
    Can you tell us what is your script hosted on the server?
    So that we can give advice's :)
     
  4. arlon

    arlon Member

    95
    6
    8
    Feb 20, 2016
    Ratings:
    +12
    Local Time:
    3:50 PM
    1.13.6
    10.1
    whmcs billing software
     
  5. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    4:50 PM
    Mainline
    10.2
    Not much experience with that Script.
    So I assume it support Memcached.

    So PHP 5.6 or 7.0, Zend Opcache and Memcached.
     
  6. eva2000

    eva2000 Administrator Staff Member

    55,417
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,837
    Local Time:
    6:50 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah no much experience with WHMCS but their official documentation and support forum should have info on what type of caching to utilise for best performance