菜鸟想请教下我用nodejs去搭一个服务HTTP,TCP或UDP,我如何去测试最大连接数?有没有人测试过,现在我们有一款C代码最大连接数到4万,nodejs是否能超越?
巴扎黑2017-04-17 14:30:05
No need to test, as long as the JS code is not poorly written, its maximum number of connections must exceed C. This is determined by their internal implementation.
If you don’t believe it, you can test it with various stress testing tools.