Does SSL affect bandwidth? How much?

 
Post new topic   Reply to topic    Aprelium Forum Index -> SSL/Certificates
View previous topic :: View next topic  
Author Message
rrinc
-


Joined: 24 Feb 2006
Posts: 725
Location: Arkansas, USA

PostPosted: Thu Apr 24, 2008 4:41 am    Post subject: Does SSL affect bandwidth? How much? Reply with quote

I'm running my site with a 1024bit RSA key (I assume the key length would matter in this case). Obviously everyone wants to have a fast website. I don't handle transactions or terribly sensitive data or anything so I wouldn't mind going to say a 512bit key to add some speed. How much does SSL affect the transfer size? I would assume SSL would add overhead. I'm guessing its insignificant, but I'm still curious.
_________________
-Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados.
Back to top View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Apr 24, 2008 1:38 pm    Post subject: Re: Does SSL affect bandwidth? How much? Reply with quote

rrinc wrote:
I'm running my site with a 1024bit RSA key (I assume the key length would matter in this case). Obviously everyone wants to have a fast website. I don't handle transactions or terribly sensitive data or anything so I wouldn't mind going to say a 512bit key to add some speed. How much does SSL affect the transfer size? I would assume SSL would add overhead. I'm guessing its insignificant, but I'm still curious.


The certificate/key exchange/negiciation occurs only when the connection is established. After that, there is almost overhead since data is encrypted using a 1 to 1 scheme and is sent inside packets with ~ 80 bytes of extra information.

The initial exchange is not even mandatory if the client and the server have already communicated. Servers usually maintain a cache of the result of negociations with clients and will reuse that information for subsequent connections with them. This speeds up the process a lot.

For the gory details, we recommend reading http://en.wikipedia.org/wiki/Transport_Layer_Security#How_it_works .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
jscjso
-


Joined: 27 May 2008
Posts: 15

PostPosted: Wed May 28, 2008 12:01 am    Post subject: Reply with quote

Are we saying https and http have no speed difference after the initial client/server negotiation?
Back to top View user's profile Send private message
rrinc
-


Joined: 24 Feb 2006
Posts: 725
Location: Arkansas, USA

PostPosted: Wed May 28, 2008 3:46 am    Post subject: Reply with quote

Yes, except for a very small performance hit to HTTPS which is extremely negligible.
_________________
-Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados.
Back to top View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
jscjso
-


Joined: 27 May 2008
Posts: 15

PostPosted: Wed May 28, 2008 3:51 am    Post subject: Reply with quote

Rrinc,

Thanks.

My next question will then be why not everyone use https and abandon http?

If speed is not an issue, What is the penalty to use https? Do some browsers having more difficulty to view https?


jscjso
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Wed May 28, 2008 11:18 am    Post subject: Reply with quote

Many browsers are configured not to cache any content set across a https connection. Also, if a certificate is not signed by a recognised certification authority many users will not proceed after the warning.
_________________
Olly
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> SSL/Certificates All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group