Comments (4)
I think this is a good addition for distributed "attacks"!
While we don't implement this, for distributed load tests an alternative would be:
- use https://github.com/flaviostutz/etcd-registrar to start with each vegeta attacker (which will add an entry with the attacker address to a ETCD server) when the service starts and removes it from the etcd "directory" when it is killed
- configure Prometheus to observe the ETCD service list to start monitoring it as soon as the attacker starts working (see https://prometheus.io/blog/2015/08/17/service-discovery-with-etcd/)
We still will have some of the issues mentioned above, but it can help in the meanwhile.
from vegeta.
Would we implement this as part of the "attack" (changing the current implementation), or as a separate command?
In both situations we have to be careful about the latency introduced by the push part, so probably we have to make it run asynchronously, in a separate goroutine from the main processes.
What do you think?
from vegeta.
Sure, we'll have to be careful always when introducing changes to attack, this included! I'm leaning to change the existing implementation + introduce a separate prom-write sub-command.
from vegeta.
Just want to note that distributed tests shouldn't rely on an etcd server, or any other kind of external coordinator.
from vegeta.
Related Issues (20)
- Vegeta support for binary payload ( protobuf )
- Vegeta is not able to hit total request which mention through rate HOT 1
- go 1.18 compatibility: import latest `github.com/streadway/quantile` commit HOT 1
- request a new release HOT 1
- Handle targets and output files in cloud storage (GCS and/or S3)
- How does vegeta adjust connection creation? HOT 1
- Vegeta real-time not working HOT 1
- Unmaintained? HOT 5
- Vegeta load test all requests in queue and experience high latency on the client side
- Invalid example
- interrogate the response object? HOT 1
- --resolvers is great, but also support --resolve to behave like curl HOT 1
- Server-Sent Event: Is there a way to measure timing on the first message?
- infinity / rate 0 not working? HOT 4
- using max-workers flag impacts peak TPS generated as compared to without the flag HOT 1
- Vegeta attack should accept targets in cURL format
- support for grpc and how to generate uniques value for each request
- chunked encoding reception is wrong HOT 3
- Implement benchmark formatted report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vegeta.