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

Feature: signal vegeta to increase/decrease attack rate #53

Closed
mikz opened this issue Apr 24, 2014 · 7 comments
Closed

Feature: signal vegeta to increase/decrease attack rate #53

mikz opened this issue Apr 24, 2014 · 7 comments

Comments

@mikz
Copy link

mikz commented Apr 24, 2014

Would be great if vegeta could receive signals (TTIN/TTOU)[http://unicorn.bogomips.org/SIGNALS.html] to increase rate during the attack.

This could be used to simulate traffic waves.

@tsenart
Copy link
Owner

tsenart commented Apr 29, 2014

It's an interesting idea to use non-constant functions for request rate but using signals as an interface for such isn't. I will have consider the best way to implement this.

@ghost
Copy link

ghost commented Sep 17, 2014

Dynamic ramp-up suggested by @mikz would be a worthwhile addition.

@tsenart
Copy link
Owner

tsenart commented Oct 16, 2014

The control mechanism for a running attack doesn't fit well with Unix signals. I will implement an HTTP server which listens for commands while the attack is running.

@MarStarck
Copy link

MarStarck commented Aug 30, 2017

How about this feature now? It sounds really useful
I can just use atk.Stop and atk.Start to change the rate, but this restart is not fluent.

@ghost
Copy link

ghost commented Aug 30, 2017

Solution from @tsenart.
https://github.com/bbc/FOSS-Load-Tools/blob/master/vegeta/vegeta.md#ramp-up

I think either @tsenart is too busy with something else or is just happy with his work the way it is. Probably a bit of both. Vegeta is solid basic URL basher which I think was it's intention. Speak to me privately if you are not happy with this solution. My email is on my profile.

@daluu
Copy link

daluu commented Oct 10, 2017

One could also expand on the mentioned solution with the distributed vegeta attack method https://github.com/tsenart/vegeta#usage-distributed-attacks, although it doesn't have to be implemented exactly like that example but taking that similar approach.

@tsenart
Copy link
Owner

tsenart commented Jul 5, 2018

Ramp-up is easily doable with a little shell script. This is a documentation problem. See: #304

@tsenart tsenart closed this as completed Jul 5, 2018
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

4 participants