3 ms·
Web server sounds like exactly the kind of workload that will benefit from moving to the kernel.
by insanitybit 4y ago
Web server sounds like exactly the kind of workload that will benefit from moving to the kernel.
- sitkack 4y agohttps://en.wikipedia.org/wiki/In-kernel_web_server https://en.wikipedia.org/wiki/In-kernel_web_server
- insanitybit 4y agoYeah, unikernels try to exploit the benefits as well.
- kaba0 4y agoWould that really give a sizable benefit over, say async IO? Especially an “automatic” one like Java’s Loom?
- insanitybit 4y agoYes, it can still have significant benefits. Async IO is an attempt to get around the performance issues and, given lots of kernel support that largely does not exist today, it can bridge the gap to a degree, but it's never going to match just avoiding the entire issue. You can use things like XDP to get a lot of performance back but 0 context switches/ 0 copies is always going to be faster.