## Remote client on Linux ### Hello World #### LINUX azureuser@client-1:~$ wrk https://10.0.0.4:5001/hello -c800 -d20 -t10 Running 20s test @ https://10.0.0.4:5001/hello 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 2.24ms 2.82ms 211.12ms 99.42% Req/Sec 36.47k 2.98k 53.81k 94.05% 7255691 requests in 20.07s, 1.41GB read Requests/sec: 361596.27 Transfer/sec: 71.73MB azureuser@client-1:~$ wrk https://10.0.0.6:5001/hello -c800 -d20 -t10 Running 20s test @ https://10.0.0.6:5001/hello 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 2.59ms 7.89ms 396.23ms 99.47% Req/Sec 36.63k 2.97k 56.15k 97.58% 7221087 requests in 20.10s, 1.61GB read Requests/sec: 359278.01 Transfer/sec: 81.89MB azureuser@client-1:~$ wrk https://10.0.0.4:5001/hello -c800 -d20 -t10 Running 20s test @ https://10.0.0.4:5001/hello 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 2.18ms 2.15ms 157.32ms 99.25% Req/Sec 37.25k 2.24k 48.07k 89.55% 7394977 requests in 20.07s, 1.43GB read Requests/sec: 368402.16 Transfer/sec: 73.08MB #### Windows azureuser@client-1:~$ wrk https://10.0.0.6:5001/hello -c800 -d20 -t10 Running 20s test @ https://10.0.0.6:5001/hello 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 2.36ms 4.64ms 277.24ms 99.32% Req/Sec 37.07k 4.15k 87.84k 94.31% 7342466 requests in 20.10s, 1.63GB read Requests/sec: 365371.82 Transfer/sec: 83.28MB azureuser@client-1:~$ wrk https://10.0.0.4:5001/hello -c800 -d20 -t10 Running 20s test @ https://10.0.0.4:5001/hello 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 2.27ms 2.28ms 146.26ms 99.30% Req/Sec 35.83k 2.31k 50.97k 92.22% 7118095 requests in 20.06s, 1.38GB read Requests/sec: 354793.34 Transfer/sec: 70.38MB azureuser@client-1:~$ wrk https://10.0.0.6:5001/hello -c800 -d20 -t10 Running 20s test @ https://10.0.0.6:5001/hello 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 2.55ms 6.81ms 297.68ms 99.47% Req/Sec 36.63k 2.95k 52.97k 97.98% 7223964 requests in 20.09s, 1.61GB read Requests/sec: 359619.79 Transfer/sec: 81.97MB ### Home page #### Linux azureuser@client-1:~$ wrk https://10.0.0.4:5001 -c400 -d20 -t5 Running 20s test @ https://10.0.0.4:5001 5 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 4.97ms 2.80ms 90.70ms 87.98% Req/Sec 16.70k 4.87k 20.56k 80.50% 1662661 requests in 20.02s, 4.07GB read Requests/sec: 83056.46 Transfer/sec: 208.24MB azureuser@client-1:~$ wrk https://10.0.0.4:5001 -c400 -d20 -t5 Running 20s test @ https://10.0.0.4:5001 5 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 4.10ms 1.26ms 72.07ms 82.69% Req/Sec 19.31k 1.17k 20.76k 96.60% 1922124 requests in 20.02s, 4.71GB read Requests/sec: 96029.79 Transfer/sec: 240.77MB azureuser@client-1:~$ wrk https://10.0.0.4:5001 -c400 -d20 -t5 Running 20s test @ https://10.0.0.4:5001 5 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 4.32ms 1.50ms 46.83ms 82.40% Req/Sec 18.42k 3.27k 21.04k 88.50% 1833182 requests in 20.02s, 4.49GB read Requests/sec: 91581.47 Transfer/sec: 229.62MB azureuser@client-1:~$ wrk https://10.0.0.4:5001 -c800 -d20 -t10 Running 20s test @ https://10.0.0.4:5001 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 8.07ms 3.06ms 148.04ms 87.79% Req/Sec 9.95k 580.60 10.96k 95.23% 1974801 requests in 20.06s, 4.84GB read Requests/sec: 98439.20 Transfer/sec: 246.81MB azureuser@client-1:~$ wrk https://10.0.0.4:5001 -c800 -d20 -t10 Running 20s test @ https://10.0.0.4:5001 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 8.01ms 2.34ms 137.20ms 77.88% Req/Sec 9.95k 674.02 16.32k 96.94% 1976153 requests in 20.06s, 4.84GB read Requests/sec: 98489.17 Transfer/sec: 246.94MB #### Windows azureuser@client-1:~$ wrk https://10.0.0.6:5001 -c400 -d20 -t5 Running 20s test @ https://10.0.0.6:5001 5 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 4.78ms 7.11ms 193.37ms 98.86% Req/Sec 19.05k 1.42k 21.65k 98.19% 1886489 requests in 20.05s, 4.67GB read Requests/sec: 94086.28 Transfer/sec: 238.68MB azureuser@client-1:~$ wrk https://10.0.0.6:5001 -c400 -d20 -t5 Running 20s test @ https://10.0.0.6:5001 5 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 4.65ms 5.98ms 341.46ms 98.93% Req/Sec 19.03k 1.44k 33.31k 97.69% 1884229 requests in 20.10s, 4.67GB read Requests/sec: 93756.12 Transfer/sec: 237.84MB azureuser@client-1:~$ wrk https://10.0.0.6:5001 -c400 -d20 -t5 Running 20s test @ https://10.0.0.6:5001 5 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 4.61ms 5.22ms 235.86ms 99.24% Req/Sec 18.64k 1.34k 26.48k 97.69% 1847558 requests in 20.08s, 4.58GB read Requests/sec: 92004.52 Transfer/sec: 233.40MB azureuser@client-1:~$ wrk https://10.0.0.6:5001 -c800 -d20 -t10 Running 20s test @ https://10.0.0.6:5001 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 8.60ms 5.19ms 245.99ms 98.90% Req/Sec 9.60k 0.85k 17.01k 96.07% 1899286 requests in 20.07s, 4.71GB read Requests/sec: 94620.47 Transfer/sec: 240.03MB azureuser@client-1:~$ wrk https://10.0.0.6:5001 -c800 -d20 -t10 Running 20s test @ https://10.0.0.6:5001 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 9.44ms 11.34ms 337.92ms 97.69% Req/Sec 9.73k 1.38k 50.83k 97.38% 1921982 requests in 20.09s, 4.76GB read Requests/sec: 95653.18 Transfer/sec: 242.65MB ### NGINX on Linux azureuser@client-1:~$ wrk http://10.0.0.4 -c800 -d20 -t10 Running 20s test @ http://10.0.0.4 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 1.60ms 675.29us 203.58ms 96.47% Req/Sec 49.96k 3.29k 139.60k 98.20% 9958185 requests in 20.10s, 7.99GB read Requests/sec: 495440.62 Transfer/sec: 407.28MB azureuser@client-1:~$ wrk http://10.0.0.4 -c800 -d20 -t10 Running 20s test @ http://10.0.0.4 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 22.79ms 113.55ms 950.02ms 96.15% Req/Sec 49.37k 5.36k 74.30k 98.44% 9465180 requests in 20.02s, 7.60GB read Requests/sec: 472729.14 Transfer/sec: 388.61MB azureuser@client-1:~$ wrk http://10.0.0.4 -c800 -d20 -t10 Running 20s test @ http://10.0.0.4 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 1.64ms 1.17ms 205.74ms 98.82% Req/Sec 49.18k 3.13k 143.97k 97.80% 9797443 requests in 20.10s, 7.87GB read Requests/sec: 487439.00 Transfer/sec: 400.71MB ### GRPC LINUX Final results: 10, 151339, 2.64 100, 150752, 2.65 1000, 141014, 2.84 10000, 78307, 5.11 100000, 15099, 26.50 1000000, 2010, 199.75 Windows Final results: 10, 200903, 1.99 100, 200038, 2.00 1000, 185324, 2.16 10000, 100401, 3.98 100000, 24646, 16.23 1000000, 2708, 148.17 | OS | Linux | | Windows | | |---------|-----------|-------------|-----------|-------------| | Payload | #Reqs/Sec | Avg Latency | #Reqs/Sec | Avg Latency | | 10 | 151339 | 2.64 | 200903 | 1.99 | | 100 | 150752 | 2.65 | 200038 | 2 | | 1000 | 141014 | 2.84 | 185324 | 2.16 | | 10000 | 78307 | 5.11 | 100401 | 3.98 | | 100000 | 15099 | 26.5 | 24646 | 16.23 | | 1000000 | 2010 | 199.75 | 2708 | 148.17 | ## Local on Linux ### My client azureuser@server-1:~/keepcoding/c#/HttpBenchmark/Client$ dotnet bin/Debug/net8.0/Client.dll -U https://localhost:5001 -D 20 -T 10 -C 80 0 -H 2 Running 20s test @ https://localhost:5001 10 threads and 800 connections 1211670 requests in 20s, 2.64GB read Requests/sec: 60583 Average Latency: 13.21ms azureuser@server-1:~/keepcoding/c#/HttpBenchmark/Client$ dotnet bin/Debug/net8.0/Client.dll -U https://localhost:5001 -D 20 -T 20 -C 16 00 -H 2 Running 20s test @ https://localhost:5001 20 threads and 1600 connections 1157086 requests in 20s, 2.52GB read Requests/sec: 57854 Average Latency: 27.67ms azureuser@server-1:~/keepcoding/c#/HttpBenchmark/Client$ dotnet bin/Debug/net8.0/Client.dll -U https://localhost:5001 -D 20 -T 5 -C 400 -H 2 Running 20s test @ https://localhost:5001 5 threads and 400 connections 1251141 requests in 20s, 2.73GB read Requests/sec: 62557 Average Latency: 6.39ms ### WRK azureuser@server-1:~/keepcoding/c#/HttpBenchmark/Client/wrk$ wrk -c 400 -t 5 -d20s https://localhost:5001 Running 20s test @ https://localhost:5001 5 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 4.62ms 2.73ms 116.97ms 93.62% Req/Sec 17.41k 1.22k 27.50k 85.43% 1730783 requests in 20.08s, 4.02GB read Requests/sec: 86181.25 Transfer/sec: 204.91MB azureuser@server-1:~/keepcoding/c#/HttpBenchmark/Client/wrk$ wrk -c 800 -t10 -d20s https://localhost:5001 Running 20s test @ https://localhost:5001 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 9.69ms 5.94ms 178.26ms 94.59% Req/Sec 8.63k 624.94 17.69k 93.20% 1710385 requests in 20.10s, 3.97GB read Requests/sec: 85103.87 Transfer/sec: 202.34MB ### NGINX azureuser@server-1:~/keepcoding/c#/HttpBenchmark/Client$ wrk -c 400 -t5 -d20s http://localhost Running 20s test @ http://localhost 5 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 1.02ms 1.16ms 22.52ms 88.60% Req/Sec 89.73k 10.57k 115.30k 68.30% 8932538 requests in 20.03s, 7.17GB read Requests/sec: 445898.37 Transfer/sec: 366.56MB azureuser@server-1:~/keepcoding/c#/HttpBenchmark/Client$ wrk -c 800 -t10 -d20s http://localhost Running 20s test @ http://localhost 10 threads and 800 connections Thread Stats Avg Stdev Max +/- Stdev Latency 2.07ms 1.85ms 23.50ms 85.75% Req/Sec 42.40k 4.41k 64.75k 70.30% 8466268 requests in 20.09s, 6.80GB read Requests/sec: 421330.56 Transfer/sec: 346.36MB