Boost logo

Boost :

Subject: Re: [boost] [asio]https significantly reduce performance
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2019-01-30 16:58:35


On Tue, Jan 29, 2019 at 7:27 PM lx via Boost <boost_at_[hidden]> wrote:
> https significantly reduce performance.

Well, yes, the connection is encrypted by a block cipher - what did
you expect? Are you disconnecting and reconnecting for every request
or are you keeping the connection alive? The SSL opening handshake is
very expensive. Are you using a debug or optimized OpenSSL library?

It is normal that SSL connections are going to be significantly slower
than plain connections. On a related note, Google wants the world to
switch to HTTP/S and disallow HTTP.

Regards


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk