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

API control example #202

Closed
neilstuartcraig opened this issue May 8, 2017 · 6 comments
Closed

API control example #202

neilstuartcraig opened this issue May 8, 2017 · 6 comments

Comments

@neilstuartcraig
Copy link

Hi

I've just started experimenting with K6 and wondered if anyone can point me to an example of how to run a fleet of load generators which are controlled by a central API server? (I am assuming this is or will be possible, based on the CLI --address arg - please correct me if i'm wrong).

Cheers

@liclac
Copy link
Contributor

liclac commented May 8, 2017

This currently needs some manual work, eg. copying your scripts to each machine and pointing them all to the same output database - #140 is my proposal to implement clustering, and I would love some feedback on it.

@neilstuartcraig
Copy link
Author

Thanks for the info @liclac - I'm still not quite sure how i'd achieve this though. Any chance you could note down some bullet points to illustrate the steps please? I'm assuming i'd be using the --address arg somewhere but i can't quite tell where. Sorry if i am being a bit thick.

I'll add a note/observation to #140 which occurred to me when reading through. I also have a couple of other questions/issues which i'll create separate issues for.

Cheers

@liclac
Copy link
Contributor

liclac commented May 8, 2017

Basically... exactly what you describe can't be done just yet, but that issue is for adding it, almost exactly as you describe.

Today, your best bet would be to use an orchestration mechanism of your choice to run k6 run ... across multiple hosts; I believe @aidylewis has some kind of working setup for this?

@ghost
Copy link

ghost commented May 9, 2017

I'd just just pdsh and Influx. Are you the Neal I know? @neilstuartcraig Do you want me to spike something?

@neilstuartcraig
Copy link
Author

@aidylewis - Yeah, sorry, it's me - the one you know :-)

Thanks @liclac - i'm going to try out @aidylewis suggestion.

@ghost
Copy link

ghost commented May 12, 2017

We discussed on Slack that InfluxDB may average percentiles and a careless Grafana setup could have us average maximums. My opinion would by to try k6 insights.

@liclac liclac closed this as completed Dec 10, 2017
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

3 participants
@neilstuartcraig @liclac and others