open source alternatives to oracle coherence? [clo

2019-01-21 08:07发布

Are there any open source alternatives to oracle coherence?

(btw, how much does coherence cost anyways?)

10条回答
倾城 Initia
2楼-- · 2019-01-21 08:40

Infinispan is looking promising.

查看更多
smile是对你的礼貌
3楼-- · 2019-01-21 08:44

Memcached is also an great open source alternative that is used by a lot of high-profile & high-traffic/volume apps.

查看更多
爷、活的狠高调
4楼-- · 2019-01-21 08:46

I have been investigating open source distributed caches and have focused on EHCahe and JBoss Pojo Cache.

They are both decent products, however the deal breaker is that my use case requires me to distribute an object graph and maintain shared references on all my nodes. EHCache cannot handle this. It uses standard java serialisation, and as such, shared references are lost.

e.g. if I have manager/employee object hierarchy, i want a single 'manager' object on all my nodes, with references to their employees. With EHCache, I dont get this, as the java serialiser copies all dependent objects. With JBoss Pojo Cache, my object graph is preserved.

The downside is that JBoss needs to instrument your classes (the primitives that make up your object graph are stored in a tree structure behind the scenes). This can cause some issues when running in an OSGi environment.

JBoss uses JGroups as its communication stack, you can choose between multicast or TCP/IP to manage communication between the nodes.

Hope this helps.

查看更多
Anthone
5楼-- · 2019-01-21 08:47

EhCache provides a decent replicated cache but has nowhere near the feature set Coherence provides.

查看更多
ら.Afraid
6楼-- · 2019-01-21 08:50

Guava Libraries

Looks promising as Google used them in their own products

查看更多
forever°为你锁心
7楼-- · 2019-01-21 08:51

Hazelcast is an open source, transactional, distributed caching solution for Java. It is released under Apache license.

Hazelcast is actually a little more than a distributed cache; it is distributed implementation of queue, topic, map, multimap, lock, executor service for Java.

查看更多
登录 后发表回答