search

Home  >  Q&A  >  body text

node.js - 菜鸟想请教下我用nodejs去搭一个服务HTTP,TCP或UDP,我如何去测试最大连接数?

菜鸟想请教下我用nodejs去搭一个服务HTTP,TCP或UDP,我如何去测试最大连接数?有没有人测试过,现在我们有一款C代码最大连接数到4万,nodejs是否能超越?

大家讲道理大家讲道理2866 days ago1002

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 14:30:05

    ab pressure test

    reply
    0
  • 巴扎黑

    巴扎黑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.

    reply
    0
  • Cancelreply