Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15813

Enable more reliable SSL connection reuse

    XMLWordPrintableJSON

    Details

    • Target Version/s:

      Description

      The java keep-alive cache relies on instance equivalence of the SSL socket factory.  In many java versions, SSLContext#getSocketFactory always returns a new instance which completely breaks the cache.  Clients flooding a service with lingering per-request connections that can lead to port exhaustion.  The hadoop SSLFactory should cache the socket factory associated with the context.

        Attachments

        1. HADOOP-15813.patch
          2 kB
          Daryn Sharp
        2. HADOOP-15813.patch
          2 kB
          Daryn Sharp
        3. KMS throughput.png
          249 kB
          Wei-Chiu Chuang
        4. profiler after HADOOP-15813.png
          400 kB
          Wei-Chiu Chuang
        5. profiler prior to HADOOP-15813.png
          407 kB
          Wei-Chiu Chuang

          Activity

            People

            • Assignee:
              daryn Daryn Sharp
              Reporter:
              daryn Daryn Sharp
            • Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: