Slow SSL (HTTPS) performance on first request

Giganews Newsgroups
Subject: Slow SSL (HTTPS) performance on first request
Posted by:  Eamonn O'Connell (EamonnOConne…@discussions.microsoft.com)
Date: Mon, 16 Jul 2007

Hi,

I am load testing an ASP.NET 1.1 web app using HTTPS (hosted on Windows
Server 2003 IIS 6). It appears that the first HTTPS call per session takes a
considerable amount of time compared to subsequent requests i.e. this first
request per session calls our logon page and 10% of the time it takes more
than 8 seconds!

Is there some way I can reduce this delay, or identify where the time is
spent?

90% of the time the first page returns in under 3 seconds but it can take up
to a max of 30 seconds.

(The CPU on the web server is quite low. I have tried using an SSL cert
created through MakeCert.exe, and also a trial cert from Verisign, I am
waiting on a genuine cert. I use Visual Studio 2005 to run the load test and
I am running a load of 400 users.)

Thanks for your help!
Eamonn O'Connell.

Replies