-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
good first issuePerfect for people new to the code base.Perfect for people new to the code base.type/enhancementNew or improved feature.New or improved feature.
Description
Unless server admins are manually editing the underlying data stores, the plugin is pretty much in full control of all data going in and out. This means that the plugin could support a very crude caching mechanism where stats are cached on reads and blanket evicted on writes. Different invalidation strategies could be employed to further reduce any performance impact.
The plugin actually currently has a CachingStatsStore decorator implementation, but it is "dead code" that is never employed. It might be a good starting point to simply introduce a cache: true/false config option and wrap whatever StatsStore is instantiated in a CachingStatsStore during plugin load.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issuePerfect for people new to the code base.Perfect for people new to the code base.type/enhancementNew or improved feature.New or improved feature.