[jboss-user] [JBoss Cache: Core Edition] - JBoss Cache performance looks pretty poor :(
phpguy99
do-not-reply at jboss.com
Tue Jul 22 18:43:34 EDT 2008
Hi,
I'm evaluating various java-based distributed caching solutions: JBoss Cache (version 2.1.1 GA), EHCache, and TerraCotta.
My data size is 10 million objects and using 3 nodes each with 10GB HeapSize.
So far EHCache is proven to be very fast, reliable (never goes down for many tests iteration for many hours), and uses small footprint. I can do 40,000 puts/second on 3 nodes cluster.
Ok - I'm here to ask about JBoss Cache.
Putting 1 million Objects (small ones - consisting of 3-4 Strings), the rate is like 2000/second, and once I start the second node the second node just dies right away giving me this error:
org.jboss.cache.CacheException: Unable to fetch state on startup
.....
The memory usage is way too high. 1 million objects give require 2GB of Heap (after I GC'd of course and watched this from JConsole).
They way I'm using the tree cache is I create *all* 1 million objects on their own node/fqn. So I have ROOT/Object-1, ROOT/Object-2 ... ROOT/Object-1000000.
My configuration file:
<?xml version="1.0" encoding="UTF-8"?>
jboss:service=Naming
jboss:service=TransactionManager
org.jboss.cache.transaction.GenericTransactionManagerLookup
READ_COMMITTED
false
REPL_SYNC
JBossCache-Cluster
<UDP mcast_addr="228.1.2.3" mcast_port="48866"
ip_ttl="64" ip_mcast="true"
mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
loopback="false"/>
<PING timeout="2000" num_initial_members="3"/>
<MERGE2 min_interval="10000" max_interval="20000"/>
<FD_SOCK/>
<VERIFY_SUSPECT timeout="1500"/>
<pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800" />
<pbcast.STABLE desired_avg_gossip="400000"/>
<FC max_credits="2000000" min_threshold="0.10"/>
<FRAG2 frag_size="8192"/>
<pbcast.GMS join_timeout="5000" shun="true" print_local_addr="true"/>
<pbcast.STATE_TRANSFER/>
20000
20000
15000
I believe I'm missing something here so be great if anybody can help.
Thanks a lot.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166009#4166009
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166009
More information about the jboss-user
mailing list