Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1261

Provide an option to cache the results of loadCodecs

    XMLWordPrintable

Details

    Description

      When creating a MariaDB JDBC connection loadCodecs is invoked.
      This method uses ServiceLoading to find all "Codecs", however it doesn't cache the results, which causes a measurable performance impact:

      As the loaded Codecs usually don't change it may make sense to (globally) cache the results (maybe with an option).

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              AB-xdev Alex
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.