logback icon indicating copy to clipboard operation
logback copied to clipboard

Replace AsyncAppender of the BlockingQueue with Disruptor

Open GreatGarlic opened this issue 9 years ago • 4 comments

Replace AsyncAppender of the BlockingQueue with Disruptor

GreatGarlic avatar Oct 08 '15 02:10 GreatGarlic

Hi, would this improvement resolve the garbage collector issue mentioned at http://blogs.mulesoft.com/dev/mule-dev/disrupting-asynchronous-loggers/ (if it exists, I did not verify) ?

simonbrandhof avatar Jul 30 '16 08:07 simonbrandhof

@simonbrandhof Hello,LogBack current AsyncAppender internal use BlockingQueue,Questions about causes a lot of Garbage Collecting,I have not verified,But low performance is the result of a lot of people verified,Now,If you want to use LogBack AsyncAppender,Suggest use logstash-logback-encoder one of them LoggingEventAsyncDisruptorAppender, Adapter LogBack Disruptor implement.

GreatGarlic avatar Jul 30 '16 13:07 GreatGarlic

@GreatGarlic Thank you very much for the recommendation.

simonbrandhof avatar Jul 31 '16 16:07 simonbrandhof

@simonbrandhof You're welcome ,It is my pleasure : )

GreatGarlic avatar Aug 01 '16 01:08 GreatGarlic