We are using POJO cache in our application. We have a requirement to delete partial data from the cache.
This data changes daily and requirement is to delete this data every start of the day and then lazily load it intraday as and when data is requested.
We tried Cache.detach(fqn) method, but it looks like its not deleteing the data from the cache completely, we still see some internal references in the cache.
Can someone help?
I too faced problems like this in my near-realtime production applications handling gigabytes of data. And the issues almost solved as we completed the migration to Infinispan. I would strongly recommend to give it a try.
Thanks Girish. Let me try the workaround. Or last option, we are planning to stop and start cache at runtime and then populate the data again.
One more question, did u develop any utility programs to monitor the cache in production? Some kind of query tool. For ex: node count, data specific to business entity etc. We are checking if we there any jboss cache APIs available for this.
Jmx console is not allowed in production for us and in any case it hangs once data size gets bigger.
|Retrieving data ...|