Resource icon

xF1 Add-on Redis view counters 1.1.3

No permission to download
Compatible XF Versions
  1. 1.4
  2. 1.5
Additional Requirements: Zend Redis Cache add-on Redis phpredis

Moves some view counters to use Redis-based increment counters rather than scratch tables in MySQL. Redis provides atomic get & del when pushing view counts totals into the database.

Note;
  • Currently only handles thread views.
  • There is an effective limit of ~100000 threads that can be updated per 'Update View Counters' cron task run.
  • Requires Zend Redis Cache add-on 1.1.5 for the use of Lua scripting.



Installation

I recommend using Add-on install & upgrade or Install and Upgrade by waindigo to install this addon.

Contributing features or bug fixes
Please create a Github Pull request via the "Find more info at github.com..." link.
Author
AnimeHaxor
Size
5.7 KB
Extension
zip
Downloads
7
Views
1,344
First release
Last update

More resources from AnimeHaxor

Latest updates

  1. Maintenance Update

    Attempt to reduce latency warnings or broken pipe due to timeouts. Tweak redis command usage to...
  2. Bugfix release

    Prevent "Mysqli statement execute error : Truncated incorrect DOUBLE value:" error.
  3. Bugfix release

    Fix attachment view counts.

Similar resources

Use redis for flood checking rather than MySQL
Brivium - View Members List Permission AnimeHaxor
This addon defines a permission to view Members List pages for specific users/usergroups.
Brivium - View User Posts in Thread AnimeHaxor
This add-on allows to view all posts made by a specific user in a specific thread.
FireDaemon - Resource Manager View Count
Adds two types of RSS feeds to the resource manager.
731Threads
2,287Messages
63,821Members
rapaLatest member
Back