寻找一个轻量级的java兼容的内存键值存储 [英] Looking for a lightweight java-compatible in-memory key-value store
本文介绍了寻找一个轻量级的java兼容的内存键值存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Berkeley DB可能是最好的选择,但由于许可问题我无法使用它。
还有其他选择吗?
解决方案
您可以尝试 Hazelcast 。只需将hazelcast.jar添加到您的类路径中即可。并开始编码
java.util.Map map = Hazelcast.getMap(myMap);
您将获得一个内存,分布式,动态可扩展的数据网格,可以超快速执行。 / p>
Berkeley DB would be the best choice probably but I can't use it due to licensing issues.
Are there any alternatives?
解决方案
You can try Hazelcast. Just add hazelcast.jar to your classpath. And start coding
java.util.Map map = Hazelcast.getMap("myMap");
You'll get an in-memory, distributed, dynamically scalable data grid which performs super fast.
这篇关于寻找一个轻量级的java兼容的内存键值存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文