Want to subscribe to topics you're interested in?
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:
    7:32 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

    55,441
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,840
    Local Time:
    8:32 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

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    11:32 PM
    1.25.3
    10.6.x
    Totally agree - Redis is better
     
  4. deltahf

    deltahf Premium Member Premium Member

    587
    265
    63
    Jun 8, 2014
    Ratings:
    +489
    Local Time:
    6:32 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.