wrk
wrk2
Our great sponsors
wrk | wrk2 | |
---|---|---|
36 | 13 | |
36,760 | 4,155 | |
- | - | |
0.0 | 0.0 | |
4 months ago | about 2 months ago | |
C | C | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wrk
-
Ruby on Rails load testing habits
> My initial requirement was to send requests with unique parameters. To the best of my knowledge, no tool could do this.
wrk does this with lua. https://github.com/wg/wrk/blob/master/src/wrk.lua
Also even things like the venerable jmeter supported pulling parameters from a csv file.
-
Running a Billion Workflows a month with Netflix Conductor
We used wrk2, a fantastic tool to generate stable load on the server. Wrk2 improves on wrk and adds the ability to generate sustained load at a specific rate (-R parameter).
-
So how does WSGI concurrency work?
I am using a tool called wrk to make a bunch of requests to my website, and changing the concurrency of the requests drastically changes the result, with concurrency set to 1, I get 894 requests made in 10 seconds, and when I set concurrency to 10, I get 8549 requests. This linear scaling stops when increasing the concurrency more drastically (18805 requests for 100 and 19814 for 500 concurrency).
-
TcpSocket read error (with wrk)
Im creating multithreaded async http server for learning purposes and i'm facing problem when benchmarking with wrk. I get socket read errors on every connection:
-
Grasshopper – An Open Source Python Library for Load Testing
We use locust at work but I HIGHLY recommend wrk for a very robust yet simple load testing tool.
https://github.com/wg/wrk
And of course, this talk by Gil Tene is fantastic if you're interested in load testing stats https://www.youtube.com/watch?v=lJ8ydIuPFeU
-
What tools you use for http load testing?
Good morning what tool do you use to test your infra in terms of http load ? A tool that works, I tested : - https://github.com/tsenart/vegeta but it returns 0 errors or a http_net error from Golang - LOIC (Low Orbit Ion Canon) https://github.com/NewEraCracker/LOIC but the requests do not appear in my nginx logs and I feel no slowdown - Apache Jmeter https://jmeter.apache.org/ but I can't drop my infra and I have Java socket closed errors - K6 https://k6.io/ but I can't bring down my infra with - wrk https://github.com/wg/wrk no matter what parameter I put it doesn't make enough requests per second, I put the same parameters as on a tutorial and I don't get the same result...
-
My Rust server on a $20 VPS handles 10k requests per second with no caching. Is it just me or is that crazy ?
You could try to just blast it with wrk or bombardier. Can easily get around 50k requests on consumer machine.
-
[2023] Nginx proxy_pass to apache mod_php VS nginx proxy_pass to apache php-fpm vs nginx php-fpm
Sure, first I did the load testing on the same machine. The same machine ran web servers, php-fpm and ab / wrk programs.
- Dúvida sobre banco de dados
-
Six Charged in Mass Takedown of DDoS-for-Hire Sites
There are http benchmarking tools like wrk [0]. You don't need a ddos service for that.
[0] https://github.com/wg/wrk
wrk2
-
GNU Parallel, where have you been all my life?
> This runs a benchmark for 30 seconds, using 2 threads, keeping 100 HTTP connections open, and a constant throughput of 2000 requests per second (total, across all connections combined).
Some distros include `ab`[2] which is also good, but wrk2 improves on it (and on wrk version 1) in multiple ways, so that's what I use myself.
[1] https://github.com/giltene/wrk2
[2] https://httpd.apache.org/docs/2.2/programs/ab.html
-
Ask HN: What do you use to stress test your web application?
I've had my eyes on wrk2 [1]
1. https://github.com/giltene/wrk2
But I am curious, what does HN use? Any tips?
-
Running a Billion Workflows a month with Netflix Conductor
We used wrk2, a fantastic tool to generate stable load on the server. Wrk2 improves on wrk and adds the ability to generate sustained load at a specific rate (-R parameter).
-
How does one answer performance related questions such as these for a web API?
I use tools like vegeta and wrk2 to answer those questions.
-
Your load generator is probably lying to you
Needs (2015).
I loved the talks from Gil Tene.
I always reach for his fork of wrk whenever I need to test throughput:
https://github.com/giltene/wrk2
-
what is faster the template engine tera or PHP. is there any template engines for rust faster than PHP
That's why a lot of people just use something like wrk or wrk2 (highly recommended to run it on a separate machine) and benchmark the ability to serve actual requests.
-
PHP preload VS running as a daemon (benchmarks)
To get the most out of preload, I preloaded all files that the experimental endpoint needs to include. As a benchmarking tool, I use wrk2 — a more advanced Apache Benchmark analog — to keep it simple and provide more flexibility to generate loads similar to a real-life one.
-
Ask HN: Do you load test your applications? If so, how?
i use https://github.com/giltene/wrk2 pretty regularly.
it has decent lua hooks to customize behavior but i use it in the dumbest way possible to hammer a server at a fixed rate with the same payload over and over.
i run it by hand after a big change to the server to make sure nothing obviously regressed. i used to run it nightly in a jenkins job but 99% of the time no one looked at results. it was nice to see if assumptions on load a single node could handle didn't hold anymore.
- Wrk2: A constant throughput, correct latency recording variant of wrk
-
3 Benchmarking/load testing tools for different use cases
I use wrk2 because it overcomes coordinated omission.
What are some alternatives?
siege - Siege is an http load tester and benchmarking utility
grpcurl - Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers
loadtest - Runs a load test on the selected URL. Fast and easy to use. Can be integrated in your own workflow using the API.
prometheus - The Prometheus monitoring system and time series database.
artillery - Load testing at cloud-scale. Serverless & distributed out-of-the-box. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module. Never fail to scale with Artillery!
jester - A sinatra-like web framework for Nim.
Hey - HTTP load generator, ApacheBench (ab) replacement
web-frameworks - Which is the fastest web framework?
PPSS - Parallel Processing Shell Script
cmdchallenge
Vegeta - HTTP load testing tool and library. It's over 9000!