Want more timely Centmin Mod News Updates?
Become a Member

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:
    4:16 PM
    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

    52,729
    12,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,601
    Local Time:
    5:16 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    For Xenforo, I just use Redis these days better performance :)
     
  3. cloud9

    cloud9 Premium Member Premium Member

    424
    117
    43
    Oct 6, 2015
    England
    Ratings:
    +217
    Local Time:
    8:16 PM
    1.25.3
    10.6.x
    Totally agree - Redis is better
     
  4. deltahf

    deltahf Premium Member Premium Member

    580
    263
    63
    Jun 8, 2014
    Ratings:
    +481
    Local Time:
    3:16 PM
    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.