Redis backed view counters 2.6.2

XF 2.1 / 2.2 / 2.3 Redis backed view counters 2.6.2

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
  • ⚠️ Section Premium. Réserver aux Membres Premium ⚠️
Redis backed view counters 2.6.2

XF 2.1 / 2.2 / 2.3 Redis backed view counters 2.6.2

Catégorie Catégorie Add-Ons
Titre du sujet Titre du sujet Redis backed view counters 2.6.2
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 7
Affichages Affichages 534
Réaction Réaction 1
Dernier message par Dernier message par laurent68

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
5 104
Messages
13 381
Solutions
85
J'aime
8 157
Points
198
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.

Additional requirements :

php 7.0+
Redis Cache add-on
Redis (v3.0.0 or better)

Télécharger V2.1.0 :

Version 2.2.0 - Feature update : Add support for page view counts

Télécharger V2.2.0 :

Version 2.3.0 : This add-on is now available on atelieraphelion.com
  • Require php 7.2+
  • Require XenForo 2.2+
  • Require Redis v3.0.0+
  • Remove deprecated code, hard requiring Redis v2.6+
  • Fix page views where not being updated as expected
  • Add support for @Bob's Article Management System
  • Add support for XenForo Resource Manager
Télécharger V2.3.0 :

Version 2.4.0 : XF2.3 Compatibility update
  • Requires StandardLib v1.19.0+
  • Requires Redis Cache v2.17.0+
  • XF2.3 compatibility update
Télécharger V2.4.0 :

Version 2.4.1 - Maintenance update :
  • Restore XF2.1 support
  • XF2.3 support requires Redis Cache v2.17.0+
Télécharger V2.4.1 :

Version 2.5.0 - Maintenance update :
  • Adjust add-on title to be "Redis backed view counters"
  • Require StandardLib v1.22.0+
  • Fix Redis Cache dependency did not report the required version correctly
  • Implement content view updates in a background job instead of a blocking process during the cron-tasks
Télécharger V2.5.0 :

Version 2.6.0 - XF2.3 compatibility fix :
  • Require StandardLib v1.23.0+
  • Implement support for XF2.3 activity log view metrics
    • Requires updating ElasticSearch Essentials to v3.18.3+ if view counts are being pushed into search
Version 2.6.1 - Bugfix update :
  • Fix "all to a member function batchDatabaseUpdate() on null" when
  • Fix new view counts would be lost for Page node-type when bb-code pages add-on was not install
Version 2.6.2 - Bugfix update :
  • Fix "incrementalBatchUpdateViews(): Argument #3 ($batch) must be of type int, float given" due to strict_types flag
  • Depends on how long the job takes to run and how the AbstractJob::calculateOptimalBatch behaves as it can return int, but is inconsistent about it.
Télécharger V2.6.2 :
 
Dernière édition par un modérateur:
Contenu similaire Les plus vues Voir plus
Retour
Haut Bas