Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support NodeJS Cluster #10

Open
5 tasks
2fd opened this issue Oct 19, 2021 · 0 comments
Open
5 tasks

Support NodeJS Cluster #10

2fd opened this issue Oct 19, 2021 · 0 comments
Assignees

Comments

@2fd
Copy link
Contributor

2fd commented Oct 19, 2021

documentation: https://nodejs.org/dist/latest-v14.x/docs/api/cluster.html

  • initialize multiple cluster
  • use a single instance of Jobs only on master
  • initialze a new instance of Tasks on each fork
  • initialize a new instance of express on each fork
  • use AggregatorRegistry and expose a new instance of express over only with GET /metrics over a new port (current port +1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

3 participants