Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2996

Add HikariCP's ConcurrentBag as a recycler for JsonTemplateLayout

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • JsonTemplateLayout
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vy Volkan Yazici
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: