nginx ssl session caching

Sreekanth M sreekanth_sk at yahoo.com
Tue Feb 9 11:12:55 UTC 2016


Hi,
I am doing ssl session caching using the NGINX shared memory cache and getting high response times in load testing.
Test setup:
clients ------->  NGINX --------> server
Client sends around 200 Requests/sec  and 50% of requests reuses ssl session.
NGINX version is 1.0.10 and OpenSSL version used is OpenSSL 1.0.1e-fips 11 Feb 2013.

Test Results:

Test shows that the connect time increases to 200 secs at time t = 700s (refer session_caching.png attachment). This looks like an issue with OpenSSL framework as there is some delay in processing SSL requests over period of time. 
Please note that the connect  time is just 70 ms when external session caching is OFF (refer no_session_caching.png attachment).
Has anyone faced similar issues with OpenSSL + NGINX  testing ? 
Any feed back would be appreciated.
Thanks,Sreekanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160209/724c2269/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_session_caching.png
Type: image/png
Size: 4125 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160209/724c2269/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: session_caching.png
Type: image/png
Size: 2813 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160209/724c2269/attachment-0001.png>


More information about the nginx-devel mailing list