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:
-
Grafana Dashboards: http://localhost:3000/dashboards
-
Prometheus Targets: http://localhost:9090/targets
Configuration:
-
25000 requests in total
-
1s delay after each request
-
Without optimization: **
-
Benchmark:
-
Technical:
-
Scaphandre:
-
-
With Http client-side cache: **
-
Benchmark:
-
Technical:
-
Scaphandre:
-
-
Without optimization:
-
2023-11-28 17:49:50 to 2023-11-28 17:54:46
-
-
With Http client-side cache:
-
2023-11-28 18:03:12 to 2023-11-28 18:05:31
-