-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,030 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
function request() | ||
id = math.random(1, 300000) | ||
path = "/v0/entity?id=" .. id | ||
method = "GET" | ||
return wrk.format(method, path, body) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
counter = 0 | ||
|
||
function request() | ||
counter = counter + 1 | ||
local headers = {} | ||
headers["Host"] = "localhost:8080" | ||
local key = "k" .. counter | ||
local value = "v$" .. counter | ||
return wrk.format("PUT", "/v0/entity?id=" .. key, headers, value) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
src/main/java/ru/vk/itmo/test/alenkovayulya/results/report.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
MacBook-Pro-Ulia:wrk2-arm yulalenk$ ./wrk -c 1 -d 30 -t 1 -R 3000 -s /Users/yulalenk/sem2/2024-highload-dht/src/main/java/ru/vk/itmo/test/alenkovayulya/lua/put.lua http://localhost:8080 | ||
/Users/yulalenk/sem2/2024-highload-dht/src/main/java/ru/vk/itmo/test/alenkovayulya/lua/put.lua: .../src/main/java/ru/vk/itmo/test/alenkovayulya/lua/put.lua:10: 'end' expected (to close 'function' at line 3) near '<eof>' | ||
/Users/yulalenk/sem2/2024-highload-dht/src/main/java/ru/vk/itmo/test/alenkovayulya/lua/put.lua: .../src/main/java/ru/vk/itmo/test/alenkovayulya/lua/put.lua:10: 'end' expected (to close 'function' at line 3) near '<eof>' | ||
Running 30s test @ http://localhost:8080 | ||
1 threads and 1 connections | ||
Thread calibration: mean lat.: 1.297ms, rate sampling interval: 10ms | ||
Thread Stats Avg Stdev Max +/- Stdev | ||
Latency 1.21ms 0.90ms 18.86ms 85.02% | ||
Req/Sec 3.16k 406.40 8.00k 84.32% | ||
89999 requests in 30.00s, 6.09MB read | ||
Non-2xx or 3xx responses: 89999 | ||
Requests/sec: 2999.86 | ||
Transfer/sec: 208.00KB |
201 changes: 201 additions & 0 deletions
201
src/main/java/ru/vk/itmo/test/alenkovayulya/results/wrk-get-search-break-point.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,201 @@ | ||
MacBook-Pro-Ulia:wrk2-arm yulalenk$ ./wrk -c 1 -d 20 -t 1 -L -R 40000 -s /Users/yulalenk/sem2/2024-highload-dht/src/main/java/ru/vk/itmo/test/alenkovayulya/lua/get.lua http://localhost:8080 | ||
Running 20s test @ http://localhost:8080 | ||
1 threads and 1 connections | ||
Thread calibration: mean lat.: 5.849ms, rate sampling interval: 42ms | ||
Thread Stats Avg Stdev Max +/- Stdev | ||
Latency 1.40ms 1.34ms 7.14ms 86.52% | ||
Req/Sec 60.77k 1.35k 63.63k 64.14% | ||
Latency Distribution (HdrHistogram - Recorded Latency) | ||
50.000% 1.00ms | ||
75.000% 1.62ms | ||
90.000% 3.17ms | ||
99.000% 6.25ms | ||
99.900% 6.86ms | ||
99.990% 7.12ms | ||
99.999% 7.14ms | ||
100.000% 7.15ms | ||
|
||
Detailed Percentile spectrum: | ||
Value Percentile TotalCount 1/(1-Percentile) | ||
|
||
0.011 0.000000 1 1.00 | ||
0.297 0.100000 60163 1.11 | ||
0.502 0.200000 120152 1.25 | ||
0.674 0.300000 180176 1.43 | ||
0.841 0.400000 240080 1.67 | ||
0.998 0.500000 299976 2.00 | ||
1.073 0.550000 329900 2.22 | ||
1.144 0.600000 359965 2.50 | ||
1.240 0.650000 389851 2.86 | ||
1.383 0.700000 419817 3.33 | ||
1.622 0.750000 449806 4.00 | ||
1.774 0.775000 464789 4.44 | ||
1.935 0.800000 479767 5.00 | ||
2.167 0.825000 494789 5.71 | ||
2.381 0.850000 509767 6.67 | ||
2.715 0.875000 524742 8.00 | ||
2.891 0.887500 532233 8.89 | ||
3.167 0.900000 539721 10.00 | ||
3.467 0.912500 547286 11.43 | ||
3.809 0.925000 554716 13.33 | ||
4.107 0.937500 562293 16.00 | ||
4.255 0.943750 565960 17.78 | ||
4.651 0.950000 569712 20.00 | ||
5.063 0.956250 573459 22.86 | ||
5.335 0.962500 577241 26.67 | ||
5.539 0.968750 580987 32.00 | ||
5.635 0.971875 582822 35.56 | ||
5.735 0.975000 584709 40.00 | ||
5.831 0.978125 586549 45.71 | ||
5.931 0.981250 588501 53.33 | ||
6.003 0.984375 590303 64.00 | ||
6.063 0.985938 591247 71.11 | ||
6.135 0.987500 592195 80.00 | ||
6.199 0.989062 593137 91.43 | ||
6.287 0.990625 594046 106.67 | ||
6.411 0.992188 595017 128.00 | ||
6.491 0.992969 595466 142.22 | ||
6.563 0.993750 595921 160.00 | ||
6.607 0.994531 596417 182.86 | ||
6.643 0.995313 596889 213.33 | ||
6.683 0.996094 597375 256.00 | ||
6.695 0.996484 597590 284.44 | ||
6.707 0.996875 597816 320.00 | ||
6.723 0.997266 598064 365.71 | ||
6.739 0.997656 598264 426.67 | ||
6.759 0.998047 598512 512.00 | ||
6.775 0.998242 598648 568.89 | ||
6.787 0.998437 598747 640.00 | ||
6.803 0.998633 598862 731.43 | ||
6.835 0.998828 598970 853.33 | ||
6.871 0.999023 599099 1024.00 | ||
6.887 0.999121 599142 1137.78 | ||
6.907 0.999219 599201 1280.00 | ||
6.919 0.999316 599260 1462.86 | ||
6.931 0.999414 599328 1706.67 | ||
6.951 0.999512 599374 2048.00 | ||
6.971 0.999561 599406 2275.56 | ||
6.991 0.999609 599434 2560.00 | ||
7.003 0.999658 599463 2925.71 | ||
7.019 0.999707 599492 3413.33 | ||
7.043 0.999756 599523 4096.00 | ||
7.055 0.999780 599546 4551.11 | ||
7.059 0.999805 599554 5120.00 | ||
7.067 0.999829 599566 5851.43 | ||
7.087 0.999854 599580 6826.67 | ||
7.099 0.999878 599596 8192.00 | ||
7.107 0.999890 599602 9102.22 | ||
7.119 0.999902 599614 10240.00 | ||
7.123 0.999915 599616 11702.86 | ||
7.131 0.999927 599632 13653.33 | ||
7.131 0.999939 599632 16384.00 | ||
7.135 0.999945 599644 18204.44 | ||
7.135 0.999951 599644 20480.00 | ||
7.135 0.999957 599644 23405.71 | ||
7.139 0.999963 599658 27306.67 | ||
7.139 0.999969 599658 32768.00 | ||
7.139 0.999973 599658 36408.89 | ||
7.139 0.999976 599658 40960.00 | ||
7.139 0.999979 599658 46811.43 | ||
7.139 0.999982 599658 54613.33 | ||
7.139 0.999985 599658 65536.00 | ||
7.139 0.999986 599658 72817.78 | ||
7.143 0.999988 599665 81920.00 | ||
7.143 0.999989 599665 93622.86 | ||
7.143 0.999991 599665 109226.67 | ||
7.143 0.999992 599665 131072.00 | ||
7.143 0.999993 599665 145635.56 | ||
7.143 0.999994 599665 163840.00 | ||
7.143 0.999995 599665 187245.71 | ||
7.143 0.999995 599665 218453.33 | ||
7.143 0.999996 599665 262144.00 | ||
7.143 0.999997 599665 291271.11 | ||
7.143 0.999997 599665 327680.00 | ||
7.143 0.999997 599665 374491.43 | ||
7.143 0.999998 599665 436906.67 | ||
7.143 0.999998 599665 524288.00 | ||
7.143 0.999998 599665 582542.22 | ||
7.147 0.999998 599666 655360.00 | ||
7.147 1.000000 599666 inf | ||
#[Mean = 1.401, StdDeviation = 1.335] | ||
#[Max = 7.144, Total count = 599666] | ||
#[Buckets = 27, SubBuckets = 2048] | ||
---------------------------------------------------------- | ||
|
||
|
||
MacBook-Pro-Ulia:wrk2-arm yulalenk$ ./wrk -c 1 -d 20 -t 1 -L -R 45000 -s /Users/yulalenk/sem2/2024-highload-dht/src/main/java/ru/vk/itmo/test/alenkovayulya/lua/get.lua http://localhost:8080 | ||
Running 20s test @ http://localhost:8080 | ||
1 threads and 1 connections | ||
Thread calibration: mean lat.: 357.882ms, rate sampling interval: 1247ms | ||
Thread Stats Avg Stdev Max +/- Stdev | ||
Latency 990.48ms 187.14ms 1.31s 57.09% | ||
Req/Sec 60.98k 368.85 61.65k 62.50% | ||
Latency Distribution (HdrHistogram - Recorded Latency) | ||
50.000% 991.23ms | ||
75.000% 1.15s | ||
90.000% 1.25s | ||
99.000% 1.31s | ||
99.900% 1.31s | ||
99.990% 1.31s | ||
99.999% 1.31s | ||
100.000% 1.31s | ||
|
||
Detailed Percentile spectrum: | ||
Value Percentile TotalCount 1/(1-Percentile) | ||
|
||
684.543 0.000000 410 1.00 | ||
737.279 0.100000 61204 1.11 | ||
788.991 0.200000 122597 1.25 | ||
854.527 0.300000 183121 1.43 | ||
923.135 0.400000 243738 1.67 | ||
991.231 0.500000 304612 2.00 | ||
1027.071 0.550000 335128 2.22 | ||
1057.791 0.600000 365948 2.50 | ||
1086.463 0.650000 396749 2.86 | ||
1119.231 0.700000 427638 3.33 | ||
1151.999 0.750000 457580 4.00 | ||
1167.359 0.775000 472406 4.44 | ||
1185.791 0.800000 487546 5.00 | ||
1204.223 0.825000 502839 5.71 | ||
1219.583 0.850000 518153 6.67 | ||
1236.991 0.875000 533445 8.00 | ||
1246.207 0.887500 541177 8.89 | ||
1253.375 0.900000 548955 10.00 | ||
1260.543 0.912500 556010 11.43 | ||
1268.735 0.925000 564372 13.33 | ||
1275.903 0.937500 571724 16.00 | ||
1281.023 0.943750 575675 17.78 | ||
1283.071 0.950000 578958 20.00 | ||
1287.167 0.956250 583208 22.86 | ||
1290.239 0.962500 587127 26.67 | ||
1293.311 0.968750 590206 32.00 | ||
1295.359 0.971875 592610 35.56 | ||
1298.431 0.975000 594029 40.00 | ||
1300.479 0.978125 595960 45.71 | ||
1303.551 0.981250 599479 53.33 | ||
1304.575 0.984375 600406 64.00 | ||
1305.599 0.985938 601403 71.11 | ||
1306.623 0.987500 602725 80.00 | ||
1306.623 0.989062 602725 91.43 | ||
1307.647 0.990625 603765 106.67 | ||
1308.671 0.992188 604645 128.00 | ||
1309.695 0.992969 605792 142.22 | ||
1309.695 0.993750 605792 160.00 | ||
1310.719 0.994531 607195 182.86 | ||
1310.719 0.995313 607195 213.33 | ||
1310.719 0.996094 607195 256.00 | ||
1310.719 0.996484 607195 284.44 | ||
1311.743 0.996875 608377 320.00 | ||
1311.743 0.997266 608377 365.71 | ||
1311.743 0.997656 608377 426.67 | ||
1311.743 0.998047 608377 512.00 | ||
1311.743 0.998242 608377 568.89 | ||
1311.743 0.998437 608377 640.00 | ||
1311.743 0.998633 608377 731.43 | ||
1312.767 0.998828 609179 853.33 | ||
1312.767 1.000000 609179 inf | ||
#[Mean = 990.484, StdDeviation = 187.145] | ||
#[Max = 1311.744, Total count = 609179] | ||
#[Buckets = 27, SubBuckets = 2048] | ||
---------------------------------------------------------- | ||
|
141 changes: 141 additions & 0 deletions
141
src/main/java/ru/vk/itmo/test/alenkovayulya/results/wrk-get-stable.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
MacBook-Pro-Ulia:wrk2-arm yulalenk$ ./wrk -c 1 -d 120 -t 1 -L -R 40000 -s /Users/yulalenk/sem2/2024-highload-dht/src/main/java/ru/vk/itmo/test/alenkovayulya/lua/get.lua http://localhost:8080 | ||
Running 2m test @ http://localhost:8080 | ||
1 threads and 1 connections | ||
Thread calibration: mean lat.: 0.916ms, rate sampling interval: 10ms | ||
Thread Stats Avg Stdev Max +/- Stdev | ||
Latency 0.88ms 0.97ms 13.14ms 90.68% | ||
Req/Sec 42.19k 5.90k 73.22k 82.75% | ||
Latency Distribution (HdrHistogram - Recorded Latency) | ||
50.000% 668.00us | ||
75.000% 0.99ms | ||
90.000% 1.68ms | ||
99.000% 5.41ms | ||
99.900% 6.52ms | ||
99.990% 10.23ms | ||
99.999% 12.77ms | ||
100.000% 13.15ms | ||
|
||
Detailed Percentile spectrum: | ||
Value Percentile TotalCount 1/(1-Percentile) | ||
|
||
0.010 0.000000 2 1.00 | ||
0.147 0.100000 441751 1.11 | ||
0.278 0.200000 882377 1.25 | ||
0.408 0.300000 1321335 1.43 | ||
0.538 0.400000 1760894 1.67 | ||
0.668 0.500000 2201161 2.00 | ||
0.733 0.550000 2421315 2.22 | ||
0.798 0.600000 2642129 2.50 | ||
0.863 0.650000 2863064 2.86 | ||
0.927 0.700000 3081132 3.33 | ||
0.991 0.750000 3300657 4.00 | ||
1.023 0.775000 3410459 4.44 | ||
1.055 0.800000 3520503 5.00 | ||
1.087 0.825000 3630514 5.71 | ||
1.119 0.850000 3741518 6.67 | ||
1.151 0.875000 3850738 8.00 | ||
1.357 0.887500 3904971 8.89 | ||
1.678 0.900000 3959858 10.00 | ||
2.003 0.912500 4014980 11.43 | ||
2.329 0.925000 4070021 13.33 | ||
2.657 0.937500 4124954 16.00 | ||
2.825 0.943750 4152465 17.78 | ||
2.997 0.950000 4180013 20.00 | ||
3.185 0.956250 4207336 22.86 | ||
3.401 0.962500 4234844 26.67 | ||
3.663 0.968750 4262339 32.00 | ||
3.821 0.971875 4276151 35.56 | ||
4.011 0.975000 4289854 40.00 | ||
4.295 0.978125 4303676 45.71 | ||
4.591 0.981250 4317484 53.33 | ||
4.883 0.984375 4331076 64.00 | ||
5.031 0.985938 4338024 71.11 | ||
5.179 0.987500 4344986 80.00 | ||
5.323 0.989062 4351822 91.43 | ||
5.471 0.990625 4358679 106.67 | ||
5.627 0.992188 4365582 128.00 | ||
5.707 0.992969 4368968 142.22 | ||
5.791 0.993750 4372393 160.00 | ||
5.879 0.994531 4375792 182.86 | ||
5.971 0.995313 4379263 213.33 | ||
6.067 0.996094 4382740 256.00 | ||
6.115 0.996484 4384380 284.44 | ||
6.167 0.996875 4386174 320.00 | ||
6.219 0.997266 4387884 365.71 | ||
6.271 0.997656 4389500 426.67 | ||
6.335 0.998047 4391316 512.00 | ||
6.363 0.998242 4392072 568.89 | ||
6.403 0.998437 4393036 640.00 | ||
6.439 0.998633 4393808 731.43 | ||
6.483 0.998828 4394730 853.33 | ||
6.527 0.999023 4395550 1024.00 | ||
6.551 0.999121 4395950 1137.78 | ||
6.579 0.999219 4396380 1280.00 | ||
6.611 0.999316 4396818 1462.86 | ||
6.651 0.999414 4397261 1706.67 | ||
6.691 0.999512 4397685 2048.00 | ||
6.711 0.999561 4397897 2275.56 | ||
6.739 0.999609 4398094 2560.00 | ||
6.775 0.999658 4398310 2925.71 | ||
6.887 0.999707 4398517 3413.33 | ||
7.255 0.999756 4398732 4096.00 | ||
7.639 0.999780 4398840 4551.11 | ||
8.075 0.999805 4398948 5120.00 | ||
8.519 0.999829 4399055 5851.43 | ||
8.919 0.999854 4399163 6826.67 | ||
9.607 0.999878 4399269 8192.00 | ||
10.007 0.999890 4399323 9102.22 | ||
10.279 0.999902 4399379 10240.00 | ||
10.487 0.999915 4399431 11702.86 | ||
10.703 0.999927 4399486 13653.33 | ||
10.879 0.999939 4399538 16384.00 | ||
10.999 0.999945 4399565 18204.44 | ||
11.215 0.999951 4399592 20480.00 | ||
11.471 0.999957 4399619 23405.71 | ||
11.703 0.999963 4399645 27306.67 | ||
11.951 0.999969 4399673 32768.00 | ||
12.071 0.999973 4399686 36408.89 | ||
12.191 0.999976 4399699 40960.00 | ||
12.327 0.999979 4399713 46811.43 | ||
12.439 0.999982 4399726 54613.33 | ||
12.567 0.999985 4399740 65536.00 | ||
12.615 0.999986 4399746 72817.78 | ||
12.679 0.999988 4399753 81920.00 | ||
12.743 0.999989 4399760 93622.86 | ||
12.799 0.999991 4399766 109226.67 | ||
12.863 0.999992 4399773 131072.00 | ||
12.895 0.999993 4399776 145635.56 | ||
12.927 0.999994 4399781 163840.00 | ||
12.951 0.999995 4399783 187245.71 | ||
12.983 0.999995 4399787 218453.33 | ||
13.015 0.999996 4399790 262144.00 | ||
13.023 0.999997 4399791 291271.11 | ||
13.039 0.999997 4399793 327680.00 | ||
13.055 0.999997 4399795 374491.43 | ||
13.063 0.999998 4399796 436906.67 | ||
13.087 0.999998 4399798 524288.00 | ||
13.095 0.999998 4399799 582542.22 | ||
13.103 0.999998 4399800 655360.00 | ||
13.111 0.999999 4399801 748982.86 | ||
13.111 0.999999 4399801 873813.33 | ||
13.119 0.999999 4399803 1048576.00 | ||
13.119 0.999999 4399803 1165084.44 | ||
13.119 0.999999 4399803 1310720.00 | ||
13.135 0.999999 4399804 1497965.71 | ||
13.135 0.999999 4399804 1747626.67 | ||
13.135 1.000000 4399804 2097152.00 | ||
13.143 1.000000 4399805 2330168.89 | ||
13.143 1.000000 4399805 2621440.00 | ||
13.143 1.000000 4399805 2995931.43 | ||
13.143 1.000000 4399805 3495253.33 | ||
13.143 1.000000 4399805 4194304.00 | ||
13.151 1.000000 4399806 4660337.78 | ||
13.151 1.000000 4399806 inf | ||
#[Mean = 0.881, StdDeviation = 0.974] | ||
#[Max = 13.144, Total count = 4399806] | ||
#[Buckets = 27, SubBuckets = 2048] | ||
---------------------------------------------------------- | ||
4799984 requests in 2.00m, 325.01MB read | ||
Non-2xx or 3xx responses: 4799984 | ||
Requests/sec: 39999.87 | ||
Transfer/sec: 2.71MB |
Oops, something went wrong.