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

What about k6 central controler. #733

Closed
ofauchon opened this issue Aug 1, 2018 · 1 comment
Closed

What about k6 central controler. #733

ofauchon opened this issue Aug 1, 2018 · 1 comment

Comments

@ofauchon
Copy link
Contributor

ofauchon commented Aug 1, 2018

Hi.

According to documentation, k6 scalability is based on docker.
This is great, but it's not enough to fine control performance tests.

What about having a K6 Central Controler that would manage all k6
instances to perform centalized actions like:

  • Push/synchronize scripts (not a single .js file, but more a source tree) to all k6 nodes
  • Start/Stop/Pause/RendezVous of k6 scripts and instances
  • Manage failover, scale up/down of k6 instances (through docker apis..)
  • Execute pre/post-flight scripts and share datas with nodes
  • Provide centralized, real time monitoring of k6 injectors (cli console)
  • Provide simple queues or key/value store available for all nodes to share informations.

Olivier

@na--
Copy link
Member

na-- commented Aug 2, 2018

I wouldn't say that k6's scalability is based on docker and I can't find where we claim that in the docs, but for sure the docker image would be useful if your environment is already fully containerized. And a lot of the container orchestration solutions like kubernetes would provide very nice benefits in terms of easier up/down scaling, connectivity, monitoring, etc.

But as you correctly mention, for the moment there's no native way to orchestrate and control multiple k6 instances. There's a REST API and you can use archives to bundle and distribute source trees in one file, but currently you'd have to write the whole orchestration yourself.

We plan to implement native k6 clustering and distributed execution, but we haven't started working on that yet. This is the issue that would be used to track those efforts and it's in the end of the roadmap for this year. I'll close this for now, since it'll be referenced in the original clustering issue and some of the things you listed are actually already implemented (like the API and archive bundles). Monitor the other issue for any updates, since we'll reference it when we start work on this.

@na-- na-- closed this as completed Aug 2, 2018
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