3 ms·
Having debugged stuff for someone crazy who wanted less than 50ms global latency for a private search engine I can tell you the TLS negotiation adds significant
by sam0x17 4y ago
Having debugged stuff for someone crazy who wanted less than 50ms global latency for a private search engine I can tell you the TLS negotiation adds significant time the first time you initialize the connection
- 8n4vidtmkvmk 4y ago50ms is impossible. Lowerbound is 68. One-way.
- sam0x17 4y agoemphasis on wanted. And it was quite obtainable depending on geo location. Some locations 70 was best we could do, but most of the US east coast we were able to get around 40
- Karrot_Kream 4y agoI've designed my own private CDN and unless you have edges near each geo, you're not getting that kind of latency. And even after TLS negotiation you have no idea what the MSS on a link along the way will be causing fragmentation and retransmits. I've made do with some shenanigans with Noise and pre shared certs and have tried to make payload sizes as small as possible.
- sam0x17 4y agoYes this was using a presence in every GCP and Cloudflare and AWS edge location simultainiously all hooked together with latency based routing
- Karrot_Kream 4y agoHah gotcha. Hope you got paid well for that. I do it for my own pleasure, but it's a lot of work to do as the internet just isn't designed for low latency interconnect.