4 ms·
Go isn't the problem. The issues I have seen is that you are I/O bound by the kernel. One company did Pion WebRTC + https://www.dpdk.org/ https://www.dpdk.org/
by Sean-Der 3y ago
Go isn't the problem. The issues I have seen is that you are I/O bound by the kernel.
One company did Pion WebRTC + https://www.dpdk.org/ https://www.dpdk.org/ and is now doing 4x throughput. They tried switching to Rust (and still doing userspace networking) and it didn't make a big difference.
- neonsunset 3y agoWhich is why last-mile solutions often rely on userspace networking, for which low overhead FFI and tight control with unsafe primitives is required (you are unlikely to need the latter with Rust, as long as the data access patterns play nicely with static load partitioning and context switch minimization).