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

How to AutoScale #54

Closed
Smithx10 opened this issue Sep 6, 2016 · 5 comments
Closed

How to AutoScale #54

Smithx10 opened this issue Sep 6, 2016 · 5 comments

Comments

@Smithx10
Copy link

Smithx10 commented Sep 6, 2016

So I've gone through all the demos and am understanding how this all works, my question now is... how do I docker-compose scale customers=+1 or -1 on the fly? I would like to use some type of metric to autoscale. I don't know if this was the correct place to ask this, is there a mailing list?

@tgross
Copy link
Contributor

tgross commented Sep 6, 2016

We have an open issue to implement telemetry hooks #16. The operator would then get use information provided by the ContainerPilot telemetry endpoint to feed into whatever is scaling the instances (presumably not Compose but whatever lightweight scheduler you might be using).

I don't know if this was the correct place to ask this, is there a mailing list?

This is the right place to ask. There is intentionally no mailing list.

@Smithx10
Copy link
Author

Smithx10 commented Sep 6, 2016

Which Scheduler fits the Triton ecosystem best? Any suggestions?

@tgross
Copy link
Contributor

tgross commented Sep 8, 2016

Unfortunately the Docker ecosystem/community has largely gone the route of "giant mega-orchestrator" over "lightweight scheduler." In the meantime, we've seen workable results with Mesos, and at least one Triton Enterprise customer is driving Compose via their CI/CD systems (this is more-or-less how Joyent's own web properties are deployed). In the near future "Mariposa" will be the best choice.

@misterbisson
Copy link
Contributor

@Smithx10: one of the first questions to answer here is what metric(s) we'll use to determine when to scale up or down. ContainerPilot 2.0 introduced a telemetry feature specifically to support the monitoring of key metrics that can help determine scaling. I opened #16 to implement that for MySQL in this repo.

Feedback, suggestions, or pull requests in #16 would be greatly appreciated.

@misterbisson
Copy link
Contributor

Closing as a duplicate of #16. Please continue the conversation there.

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

No branches or pull requests

3 participants