<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div></div><div>Hi All</div><div><br></div><div>I have made a tool for load testing of my company's web-server product. The tool is written using Python 3.1.<br><br></div><div>The tool basically does a HTTP or HTTPS post, gets response and parses the response, does the response validation against expected response and maintains the stats of average response time.</div><div>The tool can open several such parallel connections and send different request and get different responses and validate them. This can continue till the time I specify or the number of request I specify in the tool per parallel connection.</div><div><br></div><div>I am seeing some strange behavior with this tool. </div><div><br></div><div>When I send request using HTTP, I am able to reach 1 transaction (request sent, response rcvd
 and validated.) per second from 20 parallel connections easily. Average response time shown is about 0.15 seconds.</div><div>However, when I send request using HTTPS, I am seeing that the response time shown by tool goes to 1.1 seconds for same 20 parallel connection each trying 1 transaction per second.</div><div><br></div><div>Another observation that I have made is with 10 parallel HTTPS connection each trying 1 transaction per second from 2 different machines (effectively same load on server), the response time is again reducing to .17 secs.</div><div>However if I run two instances of the tool with 10 parallel HTTPS connection each trying 1 transaction per second from from same machine, the response time is again shooting up to 1.1 seconds.</div><div><br></div><div>So I feel HTTPS is blocking my test if I want to achieve higher TPS (transactions per second.) than 10*1=10 TPS. [I can not send the next request till I get response to
 previous one and since response time is more than 1 second, I can never reach 1 TPS from each connection.] If I use HTTP I can easily reach 20 TPS. Also if I use multiple machines, I can reach 20 TPS on HTTPS also.</div><div><br></div><div><br></div><div>So the question is does anyone here have any idea or some data about performance limitation of HTTPS implementation in Python 3.1?</div><div><br></div><p class="MsoNormal"><span class="apple-style-span"><i><span style="font-size:10.0pt;font-family:Arial;color:gray;">Regards</span></i></span><i><span style="font-size:10.0pt;font-family:Arial;color:gray;"><br><span class="apple-style-span">Ashish Vyas</span><br></span></i></p><div style="position:fixed"></div>


</div><br>

      </body></html>