Details

      Description

      DXP uses commons-dbcp.jar v1.2.2. This version is from 2007. (reference on this link). Please find some further arguments for upgrading DXP's dbcp.jar version below.

      • the current version used by DXP (v1.2.2) is already in archives.
      • the official DXP 7.2 deployment guide mentions dbcp for read-write database splitting as an example, as default HikariCP does not support read/write splitting
      • several bugs have been fixed since v.1.2.2, the current version is v.2.7.0 (reference on this link)
      • lower performance comparing with Commons-pool 2.x versions:
        • the current version (v1.2.2) relies on Commons-pool 1.x for the actual pool implementation. From the website of Commons-pool:

          Version 2 of Apache Commons Pool contains a completely re-written pooling implementation compared to the 1.x series. In addition to performance and scalability improvements, version 2 includes robust instance tracking and pool monitoring.

        • some performance issues of the current version of DXP are also mentioned on this StackOverflow post:

          Older versions of Apache Commons DBCP (i.e. version 1.2) had some nasty thread-safety issues under high load conditions, making it unsuitable for that kind of usage

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              adam.zsolnay Adam Zsolnay (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package