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

Horizontal scaling? #43

Open
cdhanna opened this issue Jan 25, 2024 · 1 comment
Open

Horizontal scaling? #43

cdhanna opened this issue Jan 25, 2024 · 1 comment

Comments

@cdhanna
Copy link

cdhanna commented Jan 25, 2024

Is your feature request related to a problem? Please describe.
I am worried that if I adopt this product, it won't scale well in high traffic. I would want to be able to have multiple node servers handling requests in a round-robin fashion, hosted on a fleet of containers. But from what I gather from looking at the docs and code, this isn't possible. If I run multiple instances, I think I'd be running multiple collectors, which would duplicate metrics.

Describe the solution you'd like
I would like to be able run the server in "view only mode", and disable metric collection. This way, I can run one metric collector, and leave the rest of the instances as view only, so that I can scale out new instances to meet traffic needs.

Describe alternatives you've considered

  1. modify the source code myself,
  2. simply have 1 instance and hope it handles traffic load,
  3. simply have many instances, and don't care that the metrics are duplicated. This would mean that different users may have a slightly different metric reporting experience.

Additional context
I think this project is awesome! I would love to adopt it for my use case :)

@rajnandan1
Copy link
Owner

Yes, I have working on separating the collection and display part in local.

Taking longer than usual to raise the PR

Will close the issue once raised and merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants