Jboss Cache 作为分布式状态存储库
使用 JBoss Cache 作为分布式状态存储库是一个好主意吗?
当您需要保证每次从存储库读取某些内容时都能获得最新版本时,可以应用 JBoss Cache 吗? - 无论我们考虑集群中的哪个节点?
Is using JBoss Cache as distributed state repository a good idea?
Can JBoss Cache be applied in situation when you need the guarantee that each time you read something from repository you get the newest version of it? - and irrespective of which node in a cluster we consider?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用Hazelcast,它总是有保证的。无论集群节点如何,读取始终返回最新版本。
Hazelcast 是 Java 的开源(Apache 许可证)、事务性、分布式缓存解决方案。它不仅仅是一个缓存,因为它提供了映射、多重映射、队列、主题、锁和执行器服务的分布式实现。
With Hazelcast, it is always guaranteed. Reads return always the newest version, regardless of the cluster node.
Hazelcast is open source (Apache License), transactional, distributed caching solution for Java. It is a little more than a cache though as it provides distributed implementation of map, multimap, queue, topic, lock and executor service.
你需要小心这些东西,但我会说是的。 JBossCache 是事务性的,可以对分布式状态执行异步或同步原子操作。我有过很好的经验,可以推荐它。它有时可能是喜怒无常且晦涩难懂,但我还没有找到任何其他可以完成同样工作的东西。
You need to be careful with this stuff, but I would say yes. JBossCache is transactional, and can perform asynchronous or synchronous atomic operations on the distributed state. I've had good experiences with it, and can recommend it. It can be temperamental and obscure at times, but I've yet to find anything else that can do the same job.