RE: AsyncAppender in linux

2001-02-13 Thread Kitching Simon
Hi Michiel, The benefit of the AsyncAppender is not that logging runs faster (ie log messages get written to disk faster), but that code which *calls* log methods runs faster, because it does not wait for the logged message to be written. In order to prove this, what you need is a very slow Appe

Re: AsyncAppender in linux

2001-02-13 Thread Ceki Gülcü
Michiel, The usefulness or lack thereof of AsyncAppender is not dependent on the OS. The new JVMs do file buffering on all platforms. Don't confuse buffering of the file write operation with what AsyncAppender does. File buffering let you write large chunks to disk instead of writing small ch

Re: AsyncAppender in linux

2001-02-13 Thread Michiel Meeuwissen
Ceki Gülcü <[EMAIL PROTECTED]> wrote: > Michiel, > > What kind of testing are you doing? What do you mean by logging gets > faster? With respect to what? Cheers, Ceki A loop with in it one logging statement, and sometimes a delay. It get faster per logging then without a delay. That's the idea

Re: AsyncAppender in linux

2001-02-12 Thread Ceki Gülcü
Michiel, What kind of testing are you doing? What do you mean by logging gets faster? With respect to what? Cheers, Ceki At 10:59 12.02.2001 +0100, you wrote: >I did a little research if using the AsyncAppender would make >sense. So, I made a little program with delays in it etc, as is >sugg