Welcome to Centmin Mod Community
Register Now

Xenforo Redis vs Memcached

Discussion in 'Forum software usage' started by elargento, Jun 29, 2023.

  1. elargento

    elargento Member

    352
    17
    18
    Jan 4, 2016
    Ratings:
    +44
    Local Time:
    6:55 AM
    10
    According to my sysadmin, memcached is the better route for caching XenForo as it's more lightweight as it's simple a key value cache and doesn't need any sort of logic/database behind it.


    Since centminmod uses memcached and @eva2000 posted the XenForo default memcached cached data is minimum, I think that's why Xon developed Redis addons for XenForo (Redis Cache By Xon and Redis View Counters).

    Should I choose Redis given the case Xon added more support to it?
     
  2. eva2000

    eva2000 Administrator Staff Member

    50,479
    11,664
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,089
    Local Time:
    7:55 PM
    Nginx 1.25.x
    MariaDB 10.x
    For Xenforo, I just use Redis these days better performance :)
     
  3. cloud9

    cloud9 Premium Member Premium Member

    388
    108
    43
    Oct 6, 2015
    England
    Ratings:
    +200
    Local Time:
    10:55 AM
    1.23.2
    10.6.x
    Totally agree - Redis is better
     
  4. deltahf

    deltahf Premium Member Premium Member

    562
    249
    43
    Jun 8, 2014
    Ratings:
    +459
    Local Time:
    5:55 AM
    Another advantage to Redis is that it is persistent and the data it is caching will survive reboots. If you are using memcached and reboot your server, that data will be lost and will have to be cached again.