[
https://issues.apache.org/jira/browse/LOG4J2-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Volkan Yazici closed LOG4J2-2996.
---------------------------------
Resolution: Won't Fix
Current state of things are performing pretty well.
> 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
> Priority: Minor
>
> [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)