Redis View Counters

Redis View Counters 2.1.0

No permission to download
Compatible XF 2.x versions
  1. 2.1
  2. 2.2
Additional requirements
php 7.0+
Redis Cache add-on
Redis (v3.0.0 or better)
License
MIT Licence
Visible branding
No
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 or attachment views.
  • There is an effective limit of ~100000 threads that can be updated per 'Update View Counters' cron task run.
Contributing features or bug fixes
Please create a GitHub Pull request via the "Find more info at github.com..." link.

Contributions

If you appreciate this add-on, please consider a contribution via PayPal. Details will be provide via private conversation.

Please contact me if you wish for different licencing arrangements.
Related resources
Author
Xon
Downloads
183
Views
2,444
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from Xon

Latest updates

  1. 2.1.0 - Maintenance update

    Require php7+ Require XenForo 2.1+, drop XF2.0 support Correct how paging through redis results...
  2. 2.0.4 - Maintenance update

    Minor code cleanup Improve extendability for ElasticSearch Essentials for pushing view counts...
  3. 2.0.3 - Maintenance update

    Only warn if Redis Cache isn't configured, do not block installing/upgrading

Latest reviews

I've used this for over a year on a large forum with over 20 million posts. It's been working with no problems. Honestly my benchmarking isn't good enough to see if this makes a difference, but it works.
allows you to unload the load on the database and shift it all to redis, for large forums this is a very useful feature.
Top