Running Node.js App with cluster module is meaningless in Heroku?

后端 未结 3 1404
无人及你
无人及你 2021-01-19 01:59

Heroku can run

Web Dynos

and

Worker Dynos

so that Web Dynos take care of routes

and worker W

3条回答
  •  醉梦人生
    2021-01-19 02:21

    That's very good news to me, i assumed that a dyno is just one core. I actually wrote and open sourced a small but very nicely made cluster setup (backed by redis and job queue)

    https://bitbucket.org/jeveloper/nodejscluster

提交回复
热议问题