hujianxin
V2EX  ›  Node.js

nodejs,除了使用 async 模块来控制并发数量,还有别的方式吗?

  •  
  •   hujianxin · Nov 17, 2016 · 2868 views
    This topic created in 3542 days ago, the information mentioned may be changed or developed.

    async 模块中有 mapLimit 函数可以完成这个任务,请问各位老司机还有别的方法可以完成这个任务吗?不一定是别的包 /模块,也可以是别的思路。

    2 replies    2016-12-19 13:59:12 +08:00
    ericls
        1
    ericls  
       Nov 18, 2016
    node 的 stream 不是自动管理 back pressure 吗?
    photon006
        2
    photon006  
       Dec 19, 2016
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3809 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 00:47 · PVG 08:47 · LAX 17:47 · JFK 20:47
    ♥ Do have faith in what you're doing.