[JBoss-user] [JBossCache] - Re: Externalizeable versus Serializeable For Cache Loaders

2005-04-11 Thread [EMAIL PROTECTED]
Yes, Externalizable will help. Another solution is to create a CacheLoader that 
sits in front of other CacheLoaders, and essentially acts as a queue for 
requests. We have this on the roadmap as 'Asynchronous CacheLoader'.
Note that this reduces reliability though, but you should be okay as you use 
async repl anyway.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3873401#3873401

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3873401


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Externalizeable versus Serializeable For Cache Loaders

2005-04-06 Thread jiwils
[EMAIL PROTECTED] wrote : sync or async repl ? Can you describe this a bit 
more in detail ?
I will do my best...

My application, for testing purposes, consists of a single client, an 
application instance, and a cache loader instance.  The client talks to the 
application instance that fronts the cache, and the cache loader instance 
contains just the cache configured to utilize a cache loader.  Replication 
between the cache instances happens asynchronously.  The reason that the 
application instance and cache loader instance are seperate is the use of a 
cache loader on the application instance had a large impact to performance.

The application uses two top-level nodes in the cache, one /hash node and one 
/root node.  The /hash node's map contains a hash of all of the other 
locations contained as decendents of the /root node.  I think that part of my 
problem is that as the /root tree grows, the map of the /hash node grows as 
well (and can get quite large).

When using the Sleepycat cache loader, the CPU utilization of the cache loader 
instance is extremely high (90+%), and persistence of cache data (viewed by 
watching ReplicationInterceptor TRACE) lags way behind.  If I use the 
File-based cache loader, the lag is greatly diminished and the CPU utilization 
is less, but the issue still remains.

My question is related to how might I improve on this lag.  Could I create a 
customized File-based cache loader so that it only writes the /hash node's 
changes periodically?  Could I try to change my objects to externalizeable from 
serializeable?  Cache-to-cache transient state transmission seems rather fast.  
Could I perdiodically use that method for persistence instead of the single 
changes captured by the cache loader?  Any other thoughts or impressions?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3872899#3872899

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872899


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Externalizeable versus Serializeable For Cache Loaders

2005-04-05 Thread [EMAIL PROTECTED]
sync or async repl ? Can you describe this a bit more in detail ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3872755#3872755

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872755


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user