Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Is it possible to get Xenforo to use Nginx memcached module?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by jeffwidman, Apr 25, 2015.

  1. jeffwidman

    jeffwidman Active Member

    152
    27
    28
    Dec 3, 2014
    Ratings:
    +51
    Local Time:
    7:48 PM
    Xenforo support Memcache, but the way it currently works, the request comes into Nginx, then Nginx spawns PHP process via PHP-FPM, then that PHP process talks to Memcache.

    However, Nginx has a built-in Memcached module, so theoretically, it's possible to cut out the PHP process middleman.

    Does anyone know if this is possible for Xenforo?


    I know on Wordpress it's possible using the WP-FPPC cache... when set to use NginxMemcached as a backend, it's going to be faster than WP-Supercache which skips the PHP process, but is slowed down by caching to disk rather than caching to memory.
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:48 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    no idea unless Zend framework supports it as that is what Xenforo is based on
     
  3. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    10:48 AM
    Mainline
    10.2
    Not really :)
    XenForo code is not based on ZendF.
    Just using some of it's library but really not based on.
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:48 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    oh correction then :)