[jira] [Created] (IGNITE-12753) Cache SSL contexts in SslContextFactory

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-12753) Cache SSL contexts in SslContextFactory

Anton Vinogradov (Jira)
Denis Mekhanikov created IGNITE-12753:
-----------------------------------------

             Summary: Cache SSL contexts in SslContextFactory
                 Key: IGNITE-12753
                 URL: https://issues.apache.org/jira/browse/IGNITE-12753
             Project: Ignite
          Issue Type: Improvement
            Reporter: Denis Mekhanikov
            Assignee: Denis Mekhanikov


When SSL is enabled in a cluster, SslContextFactory#createSslContext is created every time when connections between nodes are created. It involves accessing key storage on disk. It may slow down creation of new communication connections and block striped pool threads if disks are slow.

SSL contexts are stateless and can be shared between threads, so it's safe to create an SSL context once and use the same instance every time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)