31 Jan
2019
31 Jan
'19
1:18 a.m.
On Wed, Jan 30, 2019 at 8:13 PM lx via Boost
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, and 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