logoalt Hacker News

jeffbeeyesterday at 8:36 PM3 repliesview on HN

There definitely are bottlenecks. The one I always think of is the kernel's networking stack. There's no sense in using the kernel TCP stack when you have hundreds of independent workloads. That doesn't make any more sense than it would have made 20 years ago to have an external TCP appliance at the top of your rack. Userspace protocol stacks win.


Replies

fc417fc802yesterday at 11:34 PM

Do the partitioned stacks of network namespaces share a single underlying global stack or are they fully independent instances? (And if not, could they be made so?)

show 1 reply
otabdeveloper4today at 5:12 AM

> Userspace protocol stacks win.

No they don't. They are horribly wasteful and inefficient compared to kernel TCP. Also they are useless because they sit on top of a kernel network interface anyways.

Unless you're doing specific tricks to minimize latency (HFT, I guess?) then there is no point.

rishabhaioveryesterday at 9:35 PM

io_uring?

show 1 reply