The Artima Developer Community
Sponsored Link

Java Community News
JBoss Cache 1.4.0 Aims for Improved Scalability

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

JBoss Cache 1.4.0 Aims for Improved Scalability Posted: Jul 19, 2006 8:05 AM
Reply to this message Reply
Summary
The latest release of JBoss Cache, 1.4.0, is focused on improving the scalability potential of JBoss Cache, with faster object marshalling and, most significantly, buddy replication. Artima spoke with Manik Surtani, JBoss Cache lead, about the release.
Advertisement
JBoss Cache is an open source caching product that enables you to cache frequently accessed Java objects in memory, thereby reducing database load and network traffic. The latest release of JBoss Cache, 1.4.0, includes features aimed at improving the scalability of applications that use JBoss Cache. Artima asked Manik Surtani, JBoss Cache lead, about the scalability enhancements. Surtani described the new features in this way:

With 1.4.0, we've improved marshalling of objects and RPC [Remote Procedure Calls] on the wire. This improves replication throughput by about 30% (see JBoss Cache on Steriods) and this makes things a lot more efficient when replicating state across a cluster.

But the big new feature when it comes to scalability is Buddy Replication. You now no longer need to replicate state to every node in the cluster. Instead, each node selects one or more "buddies" to replicate state to as a backup, which means that adding more nodes in a cluster does not cost in terms of network overhead (more nodes to replicate to) or memory (each node needs to maintain more state in memory).

Prior to Buddy Replication, each node had to maintain nX bytes in memory, where n is the number of nodes in a cluster and X is the average size of state per node. Now with Buddy Replication, each node maintains (b+1)X, where b is the number of buddies per node. As you can see, this now has no dependency on n, the number of nodes in a cluster. Which means adding more nodes to the cluster will not incur a memory penalty.

One of the pre-requisites of Buddy Replication, though, is that some form of session affinity is in place—such as HTTP sticky sessions. This will prevent unnecessary (and expensive) moving around of state from one node to another, if the state is only accessed on one node.

See Buddy Replication for JBoss Cache 1.4.0 for more details on Buddy Replication.

Topic: JBoss Cache 1.4.0 Aims for Improved Scalability Previous Topic   Next Topic Topic: Interview: Ron Goldman on Open Source and Business

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use