Resource icon

xF1 Add-on Redis view counters 1.1.3

No permission to download
📀 Resource submitted by: AnimeHaxor • 💬 Messages: 6522 • 🏆 Points: 113 • 👍 Likes: 40593 • 📀 Resources: 2251
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,372
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 - Like / Reply to View Attachment Admin
Prevent users to use downloading attachments until they like to answer the post or thread.
Brivium - View Full Media Permission Admin
This add-on adds an extra permission of “Can view full media” for XenForo Media Gallery.
Brivium - View Members List Permission AnimeHaxor
This addon defines a permission to view Members List pages for specific users/usergroups.

740Threads
2,311Messages
67,967Members
lewelLatest member
Back