[jira] [Updated] (LOG4J2-1439) Add optional support for JCTools in AsyncAppender

2016-07-12 Thread John Cairns (JIRA)

 [ 
https://issues.apache.org/jira/browse/LOG4J2-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Cairns updated LOG4J2-1439:

Attachment: conversantvsjctoolsnumthreads.jpg

As mentioned in LOG4J2-1430, just bear in mind that JCTools does not perform as 
well as Conversant Disruptor for typical use cases.   JCTools is only 
beneficial in some proposed hypothetical scenarios such as extreme contention 
on the log.   Of course no well designed high performance application would 
encounter such a case.

> Add optional support for JCTools in AsyncAppender
> -
>
> Key: LOG4J2-1439
> URL: https://issues.apache.org/jira/browse/LOG4J2-1439
> Project: Log4j 2
>  Issue Type: New Feature
>  Components: Appenders
>Affects Versions: 2.6.1
>Reporter: Matt Sicker
>Assignee: Matt Sicker
> Fix For: 2.7
>
> Attachments: LOG4J2-1439.patch.txt, conversantvsjctoolsnumthreads.jpg
>
>
> Spawning from the discussion in LOG4J2-1430, this feature request is to add 
> support for using JCTools MPSC bounded lock-free queue in AsyncAppender.
> As the work for this issue stems from the work in 1430, the code is all 
> contained in the same branch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org



[jira] [Updated] (LOG4J2-1439) Add optional support for JCTools in AsyncAppender

2016-06-30 Thread Anthony Maire (JIRA)

 [ 
https://issues.apache.org/jira/browse/LOG4J2-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anthony Maire updated LOG4J2-1439:
--
Attachment: LOG4J2-1439.patch.txt

- Support for several wait strategies
- Always keep some empty space in the queue to avoid the producer thread to 
suffer from false sharing when the queue is full
- Add a queue latency test to check performance without using AsyncAppender 
which is often hiding the queue performance issues. 

> Add optional support for JCTools in AsyncAppender
> -
>
> Key: LOG4J2-1439
> URL: https://issues.apache.org/jira/browse/LOG4J2-1439
> Project: Log4j 2
>  Issue Type: New Feature
>  Components: Appenders
>Affects Versions: 2.6.1
>Reporter: Matt Sicker
>Assignee: Matt Sicker
> Fix For: 2.7
>
> Attachments: LOG4J2-1439.patch.txt
>
>
> Spawning from the discussion in LOG4J2-1430, this feature request is to add 
> support for using JCTools MPSC bounded lock-free queue in AsyncAppender.
> As the work for this issue stems from the work in 1430, the code is all 
> contained in the same branch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org