Hi all!

I'm using TreeCacheAOP in a webapp.  It successfully transmits objects over the 
network and shares them with other app servers.  Excellent!

But performance has been slower than expected (but I'm not pointing fingers 
here... just looking for some help).  I'm using CacheMode=REPL_ASYNC, 
IsolationLevel=NONE and UseReplQueue=TRUE to increase performance.  It is 
faster, but still slower than expected.

A dynamic page that normally takes 25ms to load (with a simple in-memory cache) 
now takes about 230ms.  A tenfold increase.  

I profiled the app with jProfiler and things like 
org.jboss.aop.joinpoint.FieldReadInvocation.invokeNext are called any time I 
get a property on one of the cached objects.  I notice things in my classpath 
like MyObject.myprop$myprop_Get which are certainly generated by the AOP 
process.

I'm using this statement to prepare the objects:


And org.jboss.aop.ant.AopC to do the intrumentation.  I'm running Java 5.0 with 
5.0-style annotations.

My question: is there any way to prepare the objects so that the jboss cache 
overhead is not triggered on property gets?  I understand that the cache must 
be updated any time I set a property, but this performance for gets seems a 
little slow and I'm not sure what it's doing... since I'm running in REPL_ASYNC 
mode I assumed that it wouldn't have to do much on the get.

I'm not sure whether this is an AOP performance issue, user error (me) or 
something in jbosscache.  The functionality is exactly what I need but 
performance may be an issue if I can't overcome this.

Thanks for any insight you can offer,

Joe

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924789#3924789

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924789


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to