News for hackers. Stuff that matters.
Re:Eliminating Cold Starts 2: shard and conquer by swiftcoder on Monday September 29, 2025 @10:35AM (#45414353)
TLS handshakes (outside of embedded hardware) should be measured in milliseconds, not seconds

Edit: you can kind of tell this from the connect timings listed above. TLS is faster the second time around, but not enough to make much difference to the overall speedup

Re:Eliminating Cold Starts 2: shard and conquer by scottlamb on Monday September 29, 2025 @12:16PM (#45415563)
I think you're right that TLS doesn't explain the difference shown above, but for completeness: TLS 1.3 can reduce the round trips from 3 to 2 on session resumption. [1] Depending on your Internet connection, that could be a lot more than milliseconds. I don't think `curl` uses it by default though.

[1] https://blog.cloudflare.com/introducing-0-rtt/