[10] RFR : 8186628 : SSL session cache can cause a scalability bottleneck

Xuelei Fan xuelei.fan at oracle.com
Tue Nov 21 04:50:43 UTC 2017


Hi Ivan,

I understand the desire of performance improvement.  But I don't think 
avoiding the use of cache is the price we want to pay for.  Besides, 
avoiding using of session cache is not something improving the 
performance in general, it is typically something impacting the 
performance,  a lot sometimes.

Xuelei

On 11/20/2017 5:36 PM, Ivan Gerasimov wrote:
> Gentle ping.
> 
> If people agree on the approach, I'll go ahead and file a CCC request 
> for the new recognized system property.
> 
> With kind regards,
> 
> Ivan
> 
> 
> On 11/7/17 6:24 PM, Ivan Gerasimov wrote:
>> Hello everybody!
>>
>> The class sun.security.ssl.SSLSessionContextImpl maintains caches for 
>> the sessions reuse.
>> Access to the cache from threads is serialized.
>> It was reported that under heavy load the time of waiting for the turn 
>> to access the synchronized methods outweighs the time of creating a 
>> new session.
>>
>> It is proposed to introduce a flag that will allow to avoid using the 
>> cache altogether.
>> Would you please help review the proposed fix?
>>
>> BUGURL: https://bugs.openjdk.java.net/browse/JDK-8186628
>> WEBREV: http://cr.openjdk.java.net/~igerasim/8186628/00/webrev/
>>
>


More information about the security-dev mailing list