Trevor Phillips wrote:
I'm using a secure server with a webapp to answer queries from a LWP client using https. I need https, since I want the transfer encrypted, but I'm finding it is slow.

Whereas a query to the server unencrypted gives a response of 0.07 seconds, over SSL it takes 0.38 seconds! Since this gets hit regularly, the delays add up, and so overall response is noticeably slow.

Is this the price you pay for secure transmissions, or is there some configuration parameter I can tweak to reduce this delay?

Fundamentally thats the price you pay for security. if you can find any way to offload the cypto into hardware then things will speed up. Various exernal load balancers are available that can also decrypt and some servers have add on hardware accelerators that can do the same thing. If you check on ebay you may find an old one that's being replaced - look for ipivot/intel

IIRC the really really big hit is in the session init so you want to try ad encourage your visitors to not exit the session and restart.


Any ideas on how I can improve performance?
See above


I suspect if I wrote a custom SSL Server/Client with persistent connections I'd get a large performance boost, but I really don't have the time to go that far (although if there's a ready-made framework I suppose I could adapt easily. It'd still take some time though.)
Yes persistent sessions will help a lot!

Francis

--
Francis Turner, CIO Juelich Enzyme Products GmbH
[EMAIL PROTECTED] - http://www.biocatalysis.com
+49-611-962-4693(office) +49-173-291-7278(cell)

Enzymes are things invented by biologists that explain things which
otherwise require harder thinking.                -- Jerome Lettvin

Reply via email to