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:
    10:55 AM
    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

    36,817
    8,060
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,415
    Local Time:
    4:55 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    no idea unless Zend framework supports it as that is what Xenforo is based on
     
    • Like Like x 1
  3. rdan

    rdan Premium Member Premium Member

    4,362
    1,051
    113
    May 25, 2014
    Ratings:
    +1,520
    Local Time:
    2:55 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

    36,817
    8,060
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,415
    Local Time:
    4:55 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    oh correction then :)
     
..