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

Enable more reliable SSL connection reuse

    XMLWordPrintableJSON

Details

    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. KMS throughput.png
          249 kB
          Wei-Chiu Chuang
        2. profiler after HADOOP-15813.png
          400 kB
          Wei-Chiu Chuang
        3. profiler prior to HADOOP-15813.png
          407 kB
          Wei-Chiu Chuang
        4. HADOOP-15813.patch
          2 kB
          Daryn Sharp
        5. HADOOP-15813.patch
          2 kB
          Daryn Sharp

        Activity

          People

            daryn Daryn Sharp
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: