There are better languages that allow much higher performance ceiling for this kind of task.
Also seconding notes regarding encryption and the use of QUIC.
There are better languages that allow much higher performance ceiling for this kind of task.
Also seconding notes regarding encryption and the use of QUIC.
One company did Pion WebRTC + 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.
Either Rust or C# would be much easier in terms of vertical scaling strategy to reduce replica count and increase individual pod utilization - both languages offer better tools for scaling on individual many-core instances, reaching much higher throughput.
Edit: (though in wider context naturally the switch away from existing stack in a company would never make sense as long as it is a compiled language with sufficiently good average performance)