English 中文(简体)
open source alternatives to oracle coherence? [closed]
原标题:

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Are there any open source alternatives to oracle coherence?

(btw, how much does coherence cost anyways?)

最佳回答

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

问题回答

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.

Infinispan is looking promising.

JBoss Cache and EHCache are decent clustered cache solutions. But none of them have all the features and a nice admin console like Tangosol Oracle Coherence which is indeed the most advanced product in this category. For the price, there is a "Buy Now" button on the right of the Oracle Coherence web page.

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

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.

Project Voldemort is great (free) alternative to coherence.

I have been watching for a good alternative also. The closest overall in features I have found are Terracotta and Redis but it would be helpful to know what aspects of Coherence are important to your project.

Guava Libraries

Looks promising as Google used them in their own products

Check for "Berkeley DB" which is a open source and works same as Coherence





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签