Get the latest tech news
Direct TLS can speed up your connections
How direct TLS can speed up your connections A few months ago, one of my Aurora DSQL teammates reported a curious finding. When connecting to their DSQL clusters using the corporate VPN, their connections were fast and snappy - as they should be! But, when connecting without using the VPN, their connections were taking around 3 seconds.
Once the SSL connection is established the server will expect a normal startup-request packet and continue negotiation over the encrypted channel. In that case it avoids one round trip of latency and allows the use of network tools that depend on standard SSL connections. When using SSL connections in this style the client is required to use the ALPN extension defined by RFC 7301 to protect against protocol confusion attacks.
Or read this on Hacker News