Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What would you recommend for a large-scale Java data grid technology: Terracotta, GigaSpaces, Coherence, etc? [closed]

I've been reading up on so-called "data grid" solutions for the Java platform including Terracotta, GigaSpaces and Coherence. I was wondering if anyone has real-world experience working any of these tools and could share their experience. I'm also really curious to know what scale of deployment people have worked with: are we talking 2-4 node clusters or have you worked with anything significantly larger than that?

I'm attracted to Terracotta because of its "drop in" support for Hibernate and Spring, both of which we use heavily. I also like the idea of how it decorates bytecode based on configuration and doesn't require you to program against a "grid API." I'm not aware of any advantages to tools which use the approach of an explicit API but would love to hear about them if they do in fact exist. :)

I've also spent time reading about memcached but am more interested in hearing feedback on these three specific solutions. I would be curious to hear how they measure up against memcached in the event someone has used both.

like image 815
cliff.meyers Avatar asked Feb 12 '09 04:02

cliff.meyers


2 Answers

You may want to check out Hazelcast also. Hazelcast is an open source transactional, distributed/partitioned implementation of queue, topic, map, set, list, lock and executor service. It is super easy to work with; just add hazelcast.jar into your classpath and start coding. Almost no configuration is required.

Hazelcast is released under Apache license and enterprise grade support is also available. Code is hosted at Google Code.

like image 125
Talip Ozturk Avatar answered Oct 15 '22 06:10

Talip Ozturk


We had a 50 servers running a webservice application and all these servers were load balanced using bigIP. The requirement was to cache each user state so that subsequent states don't do the same processing again and get the data from previous state. This way the client of the webservice don't need to maintain state.

We used Terracotta to cache the states and never faced any performance issue. At peak times number of request application is getting is 100 per second.

like image 32
Bhushan Bhangale Avatar answered Oct 15 '22 04:10

Bhushan Bhangale