<div dir="ltr"><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">Our Application (which uses existing Erlang OTP R15B01 modules) sends https  request to external authentication server..and  it gets reply and seems work fine under normal cases</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">But under heavy loads  some requests are  failing  since they are consuming more time to do ssl handshake</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">and i have observed the following things during ssl handshake</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">client is taking(our application ) nearly 80 sec to send the certificate after server hello is  done with server certificate</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><br><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">since our server expects to complete the request- response in 30 sec otherwise it drops the connection hence results to connection failures and effects the performance of application severely</span><br><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">and finally i would like to know</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">- Is  our application failing  to invoke the client certificate quickly .? i mean does httpc module do the file/IO related operations to invoke the certificates which results to slow response under heavy loads..?</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">-Does Erlang has any limitations in ssl handshake procedure ..? </span><br><div><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><br></span></div><div><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;"><br></span></div><div><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">Thanks in Advance :-)</span></div></div>