Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News Terracotta releases free 4 node Tomcat Session Clustering

Terracotta releases free 4 node Tomcat Session Clustering

JVM clustering vendor Terracotta has released for free use their Terracotta Sessions for Tomcat and also for WebLogic.  The products can be integrated with Tomcat and WebLogic without any application cod echanges.  Terracotta Sessions is based on their distributed shared objects (DSO) product which uses a hub and spoke architecture and can synchronize changes across nodes at the field level (instead of serialization).   This same architecture and featureset is now available for free for Tomcat and WebLogic, for cluster deployments of up to four nodes.

The products can thus be used to provide distributed clustering and high availability of HTTPSessions on web farms, but even in situations where sticky-load balancers are in use and no data is being shared, Terracotta sessions can be used to have the 'hub' keep a backup of all data on each node and transparently fail over to another server should one machine go down.

Terracotta's other main product is DSO (Distributed Shared Objects), which is a VM clustering software aimed at transparently clustering any object in the VM without any code changes (such as serialization).  DSO slots itself in at the heap layer, replicating changes from one heap to heaps in other VM's that need that change.  DSO also coordinates sychronization between threads, and can migrate threads across server instances.   Currently in the research labs, they are also working on a mechanism to cluster threads, so that a thread pool could also be clustered across machines.

Rate this Article