Subject: Re: [boost] [asio]https significantly reduce performance
From: David Stone (david_at_[hidden])
Date: 2019-01-31 04:43:14
You are also compiling with optimizations turned off. Try adding -O3 to
your command line when you test performance.
On Wed, Jan 30, 2019 at 6:18 PM James E. King III via Boost <
> On Wed, Jan 30, 2019 at 8:13 PM lx via Boost <boost_at_[hidden]>
> > 1.The client don't keep alive, and start a new connection each time.
> > 2.I get openssl-1.1.0j from
> > https://www.openssl.org/source/openssl-1.1.0j.tar.gz
> > 3.we can improve some performance ? Or let Nginx turn HTTP/S to HTTP,
> > asio just handle HTTP ?
> > Thank you.
> What you are reporting is normal. The overhead of establishing a SSL/TLS
> connection is very high. Change your client to send multiple requests per
> connection instead of one per connection, that will solve your problem.
> This is how web browsers avoid the same issue, for example.
> - Jim
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk