Question Background:
We are rolling out an upgrade to a 3rd party application that uses ehcache for caching. We plan to have four servers clustered in production.
The vendor has provided the default ehcache configuration to cluster over rmi, using multicast to discover the peers.
The problem is that our network does not support multicast in the short term, so we are having to overwrite the default configuration to manually specify the peers. Using terracotta is out of the question due to budget constraints.
As this is an upgrade project, I will not be able to truly test the results of the manual configuration until go-live. The manual configuration is many characters long, manually written, so there is risk that errors may exist.
My question
Is there an open source jsp or similar that can be used to display the cache clustering information to the screen. We can incorporate this into the 3rd party application, and use it to quickly validate that the peers were discovered correctly.
What I’ve looked into
I’ve used google to search for ehache, but my filtering skills have failed to narrow down the results to anything useful.
I’ve looked at using logs to track when caching occurs, and am not 100% happy with this approach.
Failing to find a pre-built solution will require me to write my own.
I had to write this myself. Here is the code if others need it.
the jsp