Volkan Yazici created LOG4J2-2996:
-------------------------------------

             Summary: Add HikariCP's ConcurrentBag as a recycler for 
JsonTemplateLayout
                 Key: LOG4J2-2996
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2996
             Project: Log4j 2
          Issue Type: New Feature
          Components: JsonTemplateLayout
            Reporter: Volkan Yazici


[HikariCP|https://github.com/brettwooldridge/HikariCP] owes its battle-tested 
superior connection pooling performance to 
[ConcurrentBag|https://github.com/brettwooldridge/HikariCP/blob/dev/src/main/java/com/zaxxer/hikari/util/ConcurrentBag.java].
 Given HikariCP is also Apache-licensed, we can borrow this solid 
implementation as the default recycler for {{JsonTemplateLayout}}.

Note that {{ConcurrentBag}} relies on {{ThreadLocal}}'s. Hence mind the 
{{Constants.ENABLE_THREADLOCALS}} flag.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to