Re:Eliminating cold starts with Cloudflare Workers
by soamv on Friday July 31, 2020 @12:43PM
(#24010478)
Right, you package up your dependencies. That doesn't mean you don't have any!
Anyway, what I'm getting at is, the platform has to load a bunch of code, sometimes that will take longer than the latency that you can hide behind an ssl handshake; plus the code might run something on init.
But yes, workers seem to be oriented towards relatively small bits of code, so maybe the vast majority of load times are a few ms.
Re:Eliminating cold starts with Cloudflare Workers
by hinkley on Friday July 31, 2020 @04:03PM
(#24013276)
Correct me if I'm wrong, but isn't part of the design of QUIC about removing one network roundtrip from the encryption handshake? That gap is going to get a little smaller.
Anyway, what I'm getting at is, the platform has to load a bunch of code, sometimes that will take longer than the latency that you can hide behind an ssl handshake; plus the code might run something on init.
But yes, workers seem to be oriented towards relatively small bits of code, so maybe the vast majority of load times are a few ms.