by bjourne · 1y ago · 0 comments
Similarly, splitting the networking/etc stacks out from the kernel into userspace can also be a performance improvement for some use cases.
At specific workloads (think: load balancers / proxy servers / etc), these things become extremely expensive.
If everything above IP was in userland, only one program at a time could use TCP.
TCP and UDP being intermediated by the kernel allow multiple programs to use the protocols at the same time because the kernel routes based on port to each socket.
QUIC sits a layer even higher because it cruises on UDP, so I think your point still stands, but it’s stuff on top of TCP/UDP, not IP.