Re: Async appender without synchronized

2007-06-08 Thread Ortwin Glück
Curt Arnold wrote: Was your performance comparison between the AsyncAppender in log4j 1.2.14 or AsyncAppender from earlier log4j's? Hi Curt, I have used 1.2.14 for my comparisons. You will be able to run the test yourself. > Since you mentioned that you discard events in peak load, you

Re: Async appender without synchronized

2007-06-08 Thread Curt Arnold
On Jun 8, 2007, at 3:28 AM, Ortwin Glück wrote: Hi, I have implemented an asynchronous appender that greatly reduces synchronization. It contains not a single synchronized statement, relies on naturally thread-safe operations and just uses two classes from the java.util.concurrent packag

Async appender without synchronized

2007-06-08 Thread Ortwin Glück
Hi, I have implemented an asynchronous appender that greatly reduces synchronization. It contains not a single synchronized statement, relies on naturally thread-safe operations and just uses two classes from the java.util.concurrent package. Still it is completely thread-safe. I am using thi