Skip to content

Latest commit

 

History

History
106 lines (83 loc) · 2.22 KB

benchmark.adoc

File metadata and controls

106 lines (83 loc) · 2.22 KB

Benchmark

Benchmark Evaluation Setup

Create shared Docker network:
docker network create envite
Create monitoring:
docker compose -f docker-compose-monitoring.yaml pull
docker compose -f docker-compose-monitoring.yaml up -d
Build container images:
./gradlew bootBuildImage
Provide read permissions to those files to anyone to allow access within container:
chmod -R g+r,o+r datasource/
chmod -R g+r,o+r news-db/
chmod -R g+r,o+r monitoring/
Create and init databases:
docker compose -f docker-compose-db.yaml pull --ignore-pull-failures
docker compose -f docker-compose-db.yaml up -d
Start applications (default and cache):
docker compose -f docker-compose-application-default.yaml up -d
docker compose -f docker-compose-application-cache.yaml up -d
Start benchmark (default):
docker compose -f docker-compose-benchmark-default.yaml up -d
Start benchmark (cache):
docker compose -f docker-compose-benchmark-cache.yaml up -d

Websites:

Benchmark Runs

Configuration:

  • 25000 requests in total

  • 1s delay after each request

100 Users and 250 Requests Per User

  • Without optimization: **

    • Benchmark:

    • Technical:

    • Scaphandre:

  • With Http client-side cache: **

    • Benchmark:

    • Technical:

    • Scaphandre:

1000 Users and 25 Requests Per User

  • Without optimization: **

    • Benchmark:

    • Technical:

    • Scaphandre:

  • With Http client-side cache: **

    • Benchmark:

    • Technical:

    • Scaphandre: