hapijs / catbox

Multi-strategy object caching service
Other
494 stars 72 forks source link

Monitoring events for policy operations. #133

Closed jagoda closed 9 years ago

jagoda commented 9 years ago

This change causes policy objects to emit monitoring events for all cache operations. All events include the id, time, and error (if one occured) associated with the operation.

Resolves #70.

hueniverse commented 9 years ago

Thanks @jagoda but I am going to close this. I don't want to add events to the cache. Using them will be too complicated and might have side effects on cache performance and timing. Instead, I am going to simply pass the logic through the drop and set method with proper callbacks along with adding a statistics object.

jagoda commented 9 years ago

No worries. I had some free time and this provided a good way to fill it. I appreciate the feedback and I knew it may not work out before I started :-)

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.