In this blog post, we’ll look at how ProxySQL improves MySQL
SSL connection performance.
When deploying MySQL with SSL, the main concern is that the
initial handshake causes significant overhead if you are not
using connection pools (i.e., mysqlnd-mux with PHP,
mysql.connector.pooling in Python, etc.). Closing and making new
connections over and over can greatly impact on your total query
response time. A customer and colleague recently educated me that
although you can improve SSL encryption/decryption performance
with the AES-NI hardware extension on modern Intel processors,
the actual overhead when creating SSL connections comes from the
handshake when multiple roundtrips between the server and client
are needed.
With ProxySQL’s support for SSL on its backend connections and
connection pooling, we can have it sit in front of any
application, on the same server (illustrated below):
…
[Read more]