Is there some kind of library or framework to support a redundantly distributed
ID: 660817 • Letter: I
Question
Is there some kind of library or framework to support a redundantly distributed collection of Java data objects? By 'redundantly', I mean a complete set of data is maintained on every node of the distributed team of computers.
I've been introduced to HazelCast technology which implements collections (lists, maps, queues, and more) shared across JVMs (Java virtual machines). Any of the JVMs (nodes) can perform a Get or Put operation against the entire collection unified in memory across the multiple JVMs. Interesting technology, but not quite what I need.
Sharding is used in the HazelCast implementation, with each node holding a subset of the collection
Explanation / Answer
SharedHashMap (Github) is worth to be added to your watchlist. It fits your description. SharedHashMap is java.util.Map implementation which stores the entries off-heap and replicates them across nodes via sockets. Keys and values should be Serializable or implement specialized marshalling interface.
It isn't production-ready solution yet, but it is very actively developed right now.
P. S. Note I am affiliated with OpenHFT.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.