Distributed Caching with MemCached

Has anyone considered hooking statistics into a global caching layer such as MemCached? I have a plugin, which I’ve attached which on an interval basis will push general statistics (listed below) to a MemCached cluster.

General Statistics:

  • Global Current Connection count

  • Per-Group Connection count

Having this kind of statistic flexibility allows us to track utilization outside of Openfire itself. This also allows such avenues to intercept and use the data such as Cacti for visual tracking, PHP, Java for programatical client statistic visualization, etc.

If this is something that sounds useful I will wrap it up into a more generic plugin, with the same funcitonality for community use.