Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
HikariCP owes its battle-tested superior connection pooling performance to ConcurrentBag. 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.