Skip to content

Commit 1369319

Browse files
committed
update benchmark scenario
1 parent 9107a00 commit 1369319

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

java/run-benchmark.sh

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#!/bin/bash
22

33

4-
GHZ_FLAGS=${GHZ_FLAGS:-"--insecure -i protos/ --proto ./protos/ServingService.proto --call feast.serving.ServingService.GetOnlineFeaturesV2 --cpus=4 --skipFirst=100"}
4+
GHZ_FLAGS=${GHZ_FLAGS:-"--insecure -i protos/ --proto ./protos/ServingService.proto --call feast.serving.ServingService.GetOnlineFeaturesV2 --cpus=4 --skipFirst=100 --timeout=100ms"}
55

66
TOTAL_REQUESTS_NUM=${TOTAL_REQUESTS_NUM:-10000}
77
UNIQUE_REQUESTS_NUM=${UNIQUE_REQUESTS_NUM:-1000}
88
TARGET=${TARGET:-localhost:6566}
9+
CONCURRENCY=${CONCURRENCY:-5}
910

1011
trap "exit" INT
1112

@@ -37,18 +38,25 @@ $TARGET"
3738
# single_run <entities> <features> <concurrency> <rps>
3839

3940

40-
echo "With freezed concurrency"
41+
echo "Change only number of rows"
4142

42-
for i in $(seq 100 100 1000); do single_run 1 50 20 $i; done
43+
single_run 1 50 $CONCURRENCY 100
4344

44-
for i in $(seq 100 100 1000); do single_run 1 250 20 $i; done
45+
for i in $(seq 10 10 100); do single_run $i 50 $CONCURRENCY 100; done
4546

46-
for i in $(seq 100 100 500); do single_run 100 50 5 $i; done
4747

48-
for i in $(seq 100 100 500); do single_run 100 250 5 $i; done
48+
echo "Change only number of features"
4949

50+
for i in $(seq 50 50 250); do single_run 1 $i $CONCURRENCY 100; done
5051

51-
echo "Maximum possible RPS"
52+
53+
echo "Change only number of requests"
54+
55+
for i in $(seq 100 100 1000); do single_run 1 50 $CONCURRENCY $i; done
56+
57+
58+
59+
echo "Fix uptime to 99.9% with 100ms timeout"
5260

5361
for i in $(seq 10 10 50); do single_run 1 50 $i 0; done
5462

0 commit comments

Comments
 (0)