Friday, January 14, 2011

Log4J Appenders Performance Analysis

This page would give a fair idea of how various log4j appenders perform at a very high load. Well, these are not my stress lab readings, and need to be tested. However, this should give a fair idea for understanding various appenders performance.

http://www.ingrid.org/jajakarta/log4j/jakarta-log4j-1.1.3/docs/api/org/apache/log4j/performance/Logging.html

Also, question is whethar to use JMSAppender alone or use AsyncAppender and JMSAppender. The analysis of these are given in following page:

http://www.theserverside.com/discussions/thread.tss?thread_id=18742

I have tried following scenario and TPS (transaction per second) came almost same in both the case in case of load of 100 threads in 60 sec.

AsyncAppender sending messages to Console and File Appender

And

Messages are sent directly to Console and File Appender

I need to do further analysis to come out with right set of observation.




0 Comments:

Post a Comment

<< Home