We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem: Many frameworks use various methods to reduce the size of the response in order to increase the speed.
One way is to populate the Server field with a single character value. There are many examples of this.
Server
Possible Solution: It is worth adding a minimum value for the responses that the server sends to the client in the requirements.
The way to check if this requirement is met is very simple:
$ wrk -t1 -c100 -d15 -H 'Connection: keep-alive' http://127.0.0.1:5000/plaintext -s pipeline.lua -- 16 Running 15s test @ http://127.0.0.1:5000/plaintext 1 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 18.70ms 13.56ms 49.70ms 54.60% Req/Sec 110.47k 15.71k 141.86k 67.33% 1648765 requests in 15.00s, 246.86MB read Requests/sec: 109906.89 Transfer/sec: 16.46MB
246.86MB => 246.86 * 1024 * 1024 = 258851471.36 bytes 258851471.36 / 1648765 = 156.997 bytes
Simple check of the calculated value:
$ curl -w '\n%{size_header} %{size_download}\n' http://127.0.0.1:5000/plaintext Hello, World! 144 13
144 + 13 = 157 bytes
PROFIT!
In order to prevent a many frameworks from disappearing from the test, such this check should probably be done only when the speed exceeds 4M req/sec.
The text was updated successfully, but these errors were encountered:
change server header TechEmpower#8060
0671da3
Salvo 0.38 and use moka for cache (#8110)
1d107de
* salvo-0.38 * salvo 0.38 * Use moka library for cache * change server header #8060 * Update config file * Use fixed rust version and remove diesel cache test * remove rev = "f14f819" * Use static HeaderValue * Fix salvo-pg error
Salvo 0.38 and use moka for cache (TechEmpower#8110)
f938324
* salvo-0.38 * salvo 0.38 * Use moka library for cache * change server header TechEmpower#8060 * Update config file * Use fixed rust version and remove diesel cache test * remove rev = "f14f819" * Use static HeaderValue * Fix salvo-pg error
No branches or pull requests
Problem: Many frameworks use various methods to reduce the size of the response in order to increase the speed.
One way is to populate the
Server
field with a single character value. There are many examples of this.Possible Solution: It is worth adding a minimum value for the responses that the server sends to the client in the requirements.
The way to check if this requirement is met is very simple:
246.86MB => 246.86 * 1024 * 1024 = 258851471.36 bytes
258851471.36 / 1648765 = 156.997 bytes
Simple check of the calculated value:
144 + 13 = 157 bytes
PROFIT!
In order to prevent a many frameworks from disappearing from the test, such this check should probably be done only when the speed exceeds 4M req/sec.
The text was updated successfully, but these errors were encountered: