[Java] Cluster Shared Cache
- by GuiSim
Hi everyone.
I am searching for a java framework that would allow me to share a cache between multiple JVMs.
What I would need is something like Hazelcast but without the "distributed" part. I want to be able to add an item in the cache and have it automatically synced to the other "group member" cache. If possible, I'd like the cache to be sync'd via a reliable multicast (or something similar).
I've looked at Shoal but sadly the "Distributed State Cache" seems like an insufficient implementation for my needs.
I've looked at JBoss Cache but it seems a little overkill for what I need to do.
I've looked at JGroups, which seems to be the most promising tool for what I need to do. Does anyone have experiences with JGroups ? Preferably if it was used as a shared cache ?
Any other suggestions ?
Thanks !
EDIT : We're starting tests to help us decide between Hazelcast and Infinispan, I'll accept an answer soon.
EDIT : Due to a sudden requirements changes, we don't need a distributed map anymore. We'll be using JGroups for a low level signaling framework. Thanks everyone for you help.