Skip to content
New issue

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

Main to load-generator #922

Draft
wants to merge 78 commits into
base: load-generator
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
54daf7e
Warn client when invocation fail.
dhschall Dec 17, 2023
b6058b8
Allow RPS > 1000
dhschall Oct 25, 2023
9964106
build(deps): bump arduino/setup-protoc from 2 to 3
dependabot[bot] Feb 5, 2024
d80d1ff
build(deps): bump the otel group in /utils/tracing/go with 4 updates
dependabot[bot] Feb 12, 2024
7ca9ffc
build(deps): bump google.golang.org/grpc in /tools/invoker
dependabot[bot] Feb 19, 2024
3bb3c26
build(deps): bump go.mongodb.org/mongo-driver in /benchmarks/hotel-app
dependabot[bot] Feb 19, 2024
d5087e6
build(deps): bump rojopolis/spellcheck-github-actions
dependabot[bot] Feb 12, 2024
822d453
build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0
dependabot[bot] Feb 12, 2024
1c2ec59
build(deps): bump helm/kind-action from 1.7.0 to 1.9.0
dependabot[bot] Feb 12, 2024
04fcfef
build(deps): bump google.golang.org/grpc
dependabot[bot] Feb 19, 2024
b1169cc
Add go and protoc install scripts
dhschall Nov 9, 2023
0584dea
fix typo in invoker README
shyamjesal Feb 9, 2024
518e12a
build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.…
dependabot[bot] Feb 24, 2024
5fdb7b5
build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.…
dependabot[bot] Feb 24, 2024
9a1a2cf
build(deps): bump google.golang.org/protobuf in /benchmarks/hotel-app
dependabot[bot] Mar 13, 2024
9e78120
build(deps): bump google.golang.org/protobuf in /tools/invoker
dependabot[bot] Mar 13, 2024
3b2e88f
build(deps): bump google.golang.org/protobuf in /utils/tracing/go
dependabot[bot] Mar 13, 2024
231cfbc
build(deps): bump google.golang.org/protobuf
dependabot[bot] Mar 13, 2024
30409f4
build(deps): bump google.golang.org/protobuf
dependabot[bot] Mar 13, 2024
b91cfd9
build(deps): bump google.golang.org/protobuf in /benchmarks/corral
dependabot[bot] Mar 13, 2024
596237c
build(deps): bump google.golang.org/protobuf in /benchmarks/fibonacci
dependabot[bot] Mar 13, 2024
ae9ea2d
build(deps): bump google.golang.org/protobuf in /benchmarks/auth/go
dependabot[bot] Mar 13, 2024
a8a8c07
build(deps): bump google.golang.org/protobuf in /tools/relay
dependabot[bot] Mar 13, 2024
e291e52
build(deps): bump google.golang.org/protobuf in /benchmarks/aes/go
dependabot[bot] Mar 13, 2024
d584918
build(deps): bump google.golang.org/protobuf in /tools/test-client
dependabot[bot] Mar 13, 2024
a33cb18
build(deps): bump google.golang.org/protobuf
dependabot[bot] Mar 13, 2024
82eb01d
Add sleeping and spinning benchmark (#846)
HermioneKT Apr 6, 2024
580efd9
build(deps): bump golang.org/x/net in /benchmarks/fibonacci
dependabot[bot] Apr 19, 2024
e2e15a4
build(deps): bump golang.org/x/net in /benchmarks/corral
dependabot[bot] Apr 19, 2024
712d5e6
build(deps): bump golang.org/x/net in /utils/tracing/go
dependabot[bot] Apr 19, 2024
5b1711d
build(deps): bump google.golang.org/grpc in /tools/invoker
dependabot[bot] Apr 15, 2024
0990c49
Upgrade go dependencies
dhschall Apr 22, 2024
10181f5
build(deps): bump golang.org/x/net
dependabot[bot] Apr 19, 2024
8b3fa6d
build(deps): bump golang.org/x/net in /tools/benchmarking_eventing
dependabot[bot] Apr 19, 2024
d6accee
build(deps): bump golang.org/x/net in /tools/invoker/proto
dependabot[bot] Apr 19, 2024
4a56e1f
build(deps): bump golang.org/x/net in /tools/knative-eventing-tutorial
dependabot[bot] Apr 19, 2024
d27e644
build(deps): bump the python-packages group
dependabot[bot] Apr 19, 2024
169d032
Re-enable ARM images for AES
dhschall May 9, 2024
17cd355
New workflow to upgrade all go dependencies
dhschall May 9, 2024
8fe1bd3
Upgrade go deps
dhschall May 12, 2024
992c1a4
build(deps): bump peter-evans/create-pull-request from 4 to 6
dependabot[bot] May 13, 2024
7022849
build(deps): bump golangci/golangci-lint-action from 4.0.0 to 6.0.1
dependabot[bot] May 13, 2024
6f69bd6
build(deps): bump actions/setup-go from 4 to 5
dependabot[bot] May 13, 2024
d3daf4a
build(deps): bump helm/kind-action from 1.9.0 to 1.10.0
dependabot[bot] Apr 29, 2024
d1c7259
build(deps): bump grpcio
dependabot[bot] May 10, 2024
3c9c95a
build(deps): bump azure/setup-helm from 3 to 4
dependabot[bot] Mar 4, 2024
1edab02
Add compression workflow
dhschall Jul 15, 2024
0d8aea6
Add workflows for new functions
dhschall Jul 18, 2024
0da569b
Added all files for the compression benchmark.
Jul 16, 2024
8e6b0a9
build(deps): bump rojopolis/spellcheck-github-actions
dependabot[bot] Jul 22, 2024
8f11769
build(deps): bump docker/build-push-action from 5 to 6
dependabot[bot] Jul 23, 2024
3154491
build(deps): bump google.golang.org/grpc in /tools/invoker
dependabot[bot] May 20, 2024
e24cbe7
build(deps): bump actions/checkout from 3 to 4
dependabot[bot] May 20, 2024
28845c1
build(deps): bump go.mongodb.org/mongo-driver in /benchmarks/hotel-app
dependabot[bot] Jul 1, 2024
599215e
build(deps): bump google.golang.org/grpc in /benchmarks/hotel-app
dependabot[bot] Jul 8, 2024
6f12311
build(deps): bump golang.org/x/net in /benchmarks/hotel-app
dependabot[bot] Jul 23, 2024
21dde76
Added files for image-rotate benchmark.
Jul 19, 2024
bafa568
Tracking images with git lfs.
Jul 22, 2024
967b6ea
Added files for video-processing benchmark.
Jul 20, 2024
8cd3a2b
Small fix in image-rotate dockerfile.
Jul 24, 2024
a52a01f
Upgrade go deps
dhschall Jul 25, 2024
35b58aa
Revert "Upgrade go deps"
dhschall Jul 25, 2024
b68f7ca
Fix workflow
dhschall May 9, 2024
42b2444
Upgrade go dependencies
dhschall Jul 26, 2024
05feb31
Added files for rnn-serving benchmark.
Jul 26, 2024
3316bdf
build(deps): bump torch from 1.4.0 to 2.2.0 in /benchmarks/bert
dependabot[bot] Jul 25, 2024
2bd3780
build(deps): bump grpcio in /benchmarks/compression/python
dependabot[bot] Jul 18, 2024
11bc032
Added files for video-analytics-standalone benchmark.
Jul 26, 2024
dce2050
build(deps): bump grpcio in /benchmarks/rnn-serving/python
dependabot[bot] Jul 26, 2024
b1b9aa7
Added basic documentation for all new benchmarks.
Jul 27, 2024
82b7dee
Upgraded fibonacci to deal with large numbers.
Jul 28, 2024
d6a771a
Fixed spellcheck issues
Jul 30, 2024
07c700e
Added profiling to the relay and client.
Jul 29, 2024
135a667
Modified compression benchmark to use mongodb.
Aug 12, 2024
6e85a37
build(deps): bump rojopolis/spellcheck-github-actions
dependabot[bot] Aug 19, 2024
cd74ce5
Try fixing dependabot
dhschall Aug 27, 2024
12417aa
better grouping
dhschall Aug 27, 2024
11be651
Upgrade Python to 3.12
dhschall Aug 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
benchmarks/gg/examples/excamera/drop.avi filter=lfs diff=lfs merge=lfs -text
benchmarks/gg/examples/llvm/llvm.tar.gz filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img12.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img15.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img1.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img8.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img11.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img2.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/default.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img13.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img4.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img5.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img6.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img7.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img9.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img10.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img16.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img17.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/image-rotate/images/img3.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/video-processing/*.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/video-processing/videos/default.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/video-processing/videos/video1.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/video-processing/videos/video2.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/video-processing/videos/video3.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/video-processing/videos/video4.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/video-analytics-standalone/videos/default.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/video-analytics-standalone/videos/video1.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/video-analytics-standalone/videos/video2.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/compression/files/video2.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/compression/files/video1.mp4 filter=lfs diff=lfs merge=lfs -text
benchmarks/compression/files/img4.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/compression/files/img1.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/compression/files/img2.jpg filter=lfs diff=lfs merge=lfs -text
benchmarks/compression/files/img3.jpg filter=lfs diff=lfs merge=lfs -text
6 changes: 6 additions & 0 deletions .github/configs/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ goroutine
gradle
gradlew
Gratz
grayscale
grot
Grot
gRPC
Expand Down Expand Up @@ -443,6 +444,7 @@ Prefetch
Prefetched
Prefetching
preprocessor
preprocesses
priyank
Priyank
proc
Expand Down Expand Up @@ -483,6 +485,8 @@ recommender
recommendationservice
repo
Repos
rnn
RNN
roadmap
RPC
rpc
Expand Down Expand Up @@ -535,6 +539,7 @@ Sotiria
SPECU
specversion
Sprintf
squeezenet
src
SSD
sslip
Expand Down Expand Up @@ -647,6 +652,7 @@ zA
Zhu
zipkin
Zipkin
zlib

EsjWHBuJ
HZPSfs
Expand Down
18 changes: 16 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,23 @@ updates:
- package-ecosystem: pip
directory: "/utils/tracing/python"
schedule:
interval: daily
time: "13:00"
interval: weekly
day: sunday
groups:
python-packages:
patterns:
- "*"

- package-ecosystem: pip
directory: "/benchmarks"
schedule:
interval: weekly
day: sunday
groups:
grpcio:
patterns:
- "grpcio*"

tracing:
patterns:
- "opentelemetry*"
2 changes: 1 addition & 1 deletion .github/workflows/base-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
file: utils/base-images/Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- run: git config --global url."https://ease-lab:$(echo $GOPRIVATE_KEY)@github.com/ease-lab/vhive-xdt".insteadOf "https://github.com/ease-lab/vhive-xdt"

- name: Lint with golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
uses: golangci/golangci-lint-action@v6.0.1
with:
working-directory: ${{ matrix.workdir }}
skip-cache: true
Expand Down
46 changes: 31 additions & 15 deletions .github/workflows/e2e-aes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,19 @@ jobs:
strategy:
fail-fast: false
matrix:
service:
[
aes-go,
aes-python,
aes-nodejs,
aes-python-lambda,
aes-nodejs-lambda,
aes-go-lambda
]
include:
- service: aes-go
target: aesGo
- service: aes-python
target: aesPython
- service: aes-nodejs
target: aesNodeJS
- service: aes-go-lambda
target: aesGoLambda
- service: aes-nodejs-lambda
target: aesNodeJSLambda
- service: aes-python-lambda
target: aesPythonLambda

steps:
- name: Check out code into the Go module directory
Expand Down Expand Up @@ -88,7 +92,7 @@ jobs:
python3 -m pip install --upgrade pip
python3 -m pip install wheel ez_setup setuptools
GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true
python3 -m pip install -r benchmarks/aes/python/requirements/common.txt
python3 -m pip install -r benchmarks/aes/python/requirements/common_requirements.txt
python3 -m pip install -r runner/aws_lambda_scripts/requirements.txt

- name: Setup go dependencies
Expand All @@ -99,7 +103,19 @@ jobs:
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]

- name: Build and Push
- name: Build and push
if: ${{ ! contains(matrix.service, 'lambda') }}
uses: docker/build-push-action@v6
with:
push: true
file: benchmarks/aes/docker/Dockerfile
platforms: ${{ env.PLATFORMS }}
target: ${{ matrix.target }}
tags: vhiveease/${{ matrix.service }}:latest
context: .

- name: Build and push
if: ${{ contains(matrix.service, 'lambda') }}
working-directory: benchmarks/aes
run: make push-${{ matrix.service }}

Expand Down Expand Up @@ -128,18 +144,18 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file

- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello

- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
44 changes: 30 additions & 14 deletions .github/workflows/e2e-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,19 @@ jobs:
strategy:
fail-fast: false
matrix:
service:
[
auth-go,
auth-python,
auth-nodejs,
auth-python-lambda,
auth-nodejs-lambda,
auth-go-lambda
]
include:
- service: auth-go
target: authGo
- service: auth-python
target: authPython
- service: auth-nodejs
target: authNodeJS
- service: auth-go-lambda
target: authGoLambda
- service: auth-nodejs-lambda
target: authNodeJSLambda
- service: auth-python-lambda
target: authPythonLambda

steps:
- name: Check out code into the Go module directory
Expand Down Expand Up @@ -88,7 +92,7 @@ jobs:
python3 -m pip install --upgrade pip
python3 -m pip install wheel ez_setup setuptools
GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true
python3 -m pip install -r benchmarks/auth/python/requirements/common.txt
python3 -m pip install -r benchmarks/auth/python/requirements/common_requirements.txt
python3 -m pip install -r runner/aws_lambda_scripts/requirements.txt

- name: Setup go dependencies
Expand All @@ -100,6 +104,18 @@ jobs:
go install google.golang.org/grpc/cmd/[email protected]

- name: Build and push
if: ${{ ! contains(matrix.service, 'lambda') }}
uses: docker/build-push-action@v6
with:
push: true
file: benchmarks/auth/docker/Dockerfile
platforms: ${{ env.PLATFORMS }}
target: ${{ matrix.target }}
tags: vhiveease/${{ matrix.service }}:latest
context: .

- name: Build and push
if: ${{ contains(matrix.service, 'lambda') }}
working-directory: benchmarks/auth
run: make push-${{ matrix.service }}

Expand Down Expand Up @@ -128,18 +144,18 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file

- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello

- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-bert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ jobs:
with:
lfs: "true"

# - name: start docker-compose benchmark
# - name: start docker compose benchmark
# run: |
# docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
# docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
# docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
# docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
# sleep 60s
# cat log_file

Expand All @@ -130,5 +130,5 @@ jobs:
# ./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
# Currently cannot run on CI due to no enough space on device

# - name: show docker-compose log
# - name: show docker compose log
# run: cat log_file
6 changes: 3 additions & 3 deletions .github/workflows/e2e-chained-serving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,20 @@ jobs:
with:
lfs: 'true'

- name: start docker-compose benchmark
- name: start docker compose benchmark
env:
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
working-directory: benchmarks/chained-function-serving/yamls/docker-compose
run: |
docker-compose -f ${{ matrix.file }} up &> log_file &
docker compose -f ${{ matrix.file }} up &> log_file &
sleep 60s

- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:${{ matrix.port }} helloworld.Greeter.SayHello

- name: show docker-compose log
- name: show docker compose log
run: cat benchmarks/chained-function-serving/yamls/docker-compose/log_file

test-knative:
Expand Down
Loading
Loading