Closed ahfuzhang closed 1 month ago
欢迎来交流!
目前只试过1M连接,没太大压力。 至于 C10M,epoll的内核协议栈流程太长了应该是确实不适合,DPDK这些,或者路由设备之类的直接在内核实现的方案更适合。
对单节点承载量,我觉得要根据服务节点的协议层次定位来做对应的在线和吞吐追求:
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
请问实现单台服务器 1000 万连接的原理是什么呢?
我看了其他关于 C10M 问题的实现:几乎都是 DPDK+用户态协议栈+多队列网卡等一系列技术的组合才能做到这一点。
谢谢
What is the principle of realizing 10 million connections to a single server?
I've looked at other implementations of the C10M problem: it's almost always a combination of DPDK + userland stack + multi-queue NICs and a host of other technologies that make this possible.
Thank you!