What is the best way to get the max request / sec in benchmarks? #1451
Unanswered
rodrigoslayertech
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I want to know the best practices to get the max request by sec in benchmark tests.
I need to execute the test in the same host of my drogon server instance or in another host to not to steal cpu resources?
Running test on localhost can I have the highest request by sec possible or is it better to run on a separate physical machine with a network cable connected in direct connection (without using VMs of course)?
Whats is the fastest HTTP benchmarking tool? I'm using wrk.
I'm running the tests in a VirtualBox virtual machine on my Windows running Debian and I can get a maximum of 80k/sec
My Drogon config:
app().setLogPath("./");
app().setLogLevel(trantor::Logger::kWarn);
app().addListener("0.0.0.0", 80);
app().setThreadNum(16);
app().enableRunAsDaemon();
My Benchmark command:
wrk -t12 -c400 -d10s http://localhost
My VM in VirtualBox:
Debian 11
4 CPUs
4 GB RAM
Guest additions installed
My Physical CPU:
AMD Ryzen 9 3900X 12Cores / 24
My Video card:
NVIDIA GeForce 2070S
Beta Was this translation helpful? Give feedback.
All reactions