ericmcbride / primarch Goto Github PK
View Code? Open in Web Editor NEWA Rust Load Generator
License: MIT License
A Rust Load Generator
License: MIT License
In http.rs, Make the post_request, get_request, load_drive part of the HttpOptions struct by implementing an impl, preferably extending a trait called load-drive, that we can extend other types of load-drivers over.
If body is empty, the open_file method should not be called. Its causing a panic right now
Add unit testing to primarch.
It would be nice for other users to import in primarch, and be able to extend traits and such, to create their own load drivers if needed.
Add leaky bucket implementation for rate limiting. Right now its bursty, like a heart beat. It would be nice to have it more distributed.
Would be nice to add another CLI argument, that will allow the dump of results, as a json file, or csv.
Have a progress bar / timer appear in the CLI.
We will need a way for authentication, if the API needs it. For example, if the http headers need like a X-VERIFICATION-ID: 1234
and such.
need to keep the load driver going instead of just sending all the RPS at once. Maybe add another argument for a time limit, or just have the scope keep going (i.e. make sure 100 rps happens infinetly)
Update README.md with a circle ci badge, instructions, and the future plans of Primarch
Right now, primarch will concurrently hit the url as needed. We need to add functionality for reporting the requests. Bare minimum we need the latency of each request, average latency, if the request succeeded or if the request failed, total failures / successes. We would take the total and display it back to the end user.
Add to Circle CI or Travis. This would consist of a config file that would run the unit test, and push a docker image to a registry.
Want a nice progress bar. Some cool options include the "yarnish" example. https://github.com/mitsuhiko/indicatif/blob/master/examples/yarnish.rs
Add forms for requests
The end user will need to be able to pass a payload via cli. Maybe add options for a json file, as well as passing it as bytes on the command line.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.