Resource icon

xF1 Add-on Zend Redis Cache 1.6.0

No permission to download
  • Update examples of how to get a master/slave instance
    • Document load_from_slave option
  • Load cached forum thread count from slave redis if possible
  • Prevent "Undefined index: moderated" error with some custom add-ons when forum count caching is enabled.
  • When loading cached CSS; if loading from the slave failed, try loading from the master before regenerating css.
  • When selecting a slave, actually use the cached list of local machine IPs.
    • This code is currently Linux only.
  • Updated Readme to document that the 'prefer local slave' option is currently Linux only.
  • Relicense add-on code from Unlicence to MIT licence.
  • Ensure loading from a slave is disabled from the AdminCP
  • Ensure loading from a slave is disabled on a CSS cache-miss.
  • Use xen:number when displaying redis stats
  • Do not display instantaneous upload/download traffic if the backend Redis version doesn't support it (ie pre-3.0)
Redis Cache
  • Add-on compatibility tweak
  • Bugfix support for currently undocumented 'load_from_slaves' option which allows issuing loads to slaves when running in HA.
    • Doesn't work 100% well with sessions due to latency.
  • Attempt to reduce latency warnings or broken pipe due to timeouts.
    • Tweak redis command usage to block less by fetching less data at once when invalidating css caches
  • Track latest upstream libraries
  • Redis Sentinel support for high-availability. See http://redis.io/topics/sentinel for more information.
  • Enable with:
    Code:
    $config['cache']['backendOptions']['sentinel_master_set'] = 'mymaster';
    $config['cache']['backendOptions']['server'] = '127.0.0.1:26379';
    • 'server' now points to a comma delimited list of sentinal servers to find the master.
    • 'mymaster' must match sentinel configuration.
    • the port must be explicitly listed
  • Update redis library to fix compatibility issue when phpredis is not installed.
  • Fixes various methods for scanning for keys.
    • Required for Trending Content Tags 1.1.0 (not yet released)
  • Display phpredis module version and is lua is enabled on the Redis Info block on the AdminCP home page.
731Threads
2,287Messages
63,821Members
rapaLatest member
Back