Welcome to Centmin Mod Community
Become a Member

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:
    3:07 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

    30,152
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    8:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    no idea unless Zend framework supports it as that is what Xenforo is based on
     
    • Like Like x 1
  3. RoldanLT

    RoldanLT Well-Known Member

    3,899
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    6:07 AM
    1.11
    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

    30,152
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    8:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    oh correction then :)