4 ms·
This is fantastic news. I'm very curious about the invocation latency overhead of Docker. I assume its non-zero relative to the more native runtimes?
by 013a 6y ago
This is fantastic news.
I'm very curious about the invocation latency overhead of Docker. I assume its non-zero relative to the more native runtimes?
- wwright 6y agoOCI in general doesn't need to have very much overhead at all; it's just a few syscalls after fork() and before exec() (that trivializes it a bit, of course). I wouldn't be surprised if native runtimes already do some of the same work; it's just good practice when designing mixed-trust systems on Linux. Docker's specific implementation may offer other hurdles, of course, but AWS Lambda could easily use one of the many other implementations of OCI.
- julianwood 6y agoHi, I work in the AWS Serverless Team. Just to say, the performance of running a container image is pretty much the same as a function packaged as a zip function. We cache the container images near where the function runs so startup time isn't any worse than ZIP.