Skip to content

Technical stack

This page lists every software component used by PerfShop with its exact version, its role and the corresponding Docker image. All versions are read from the repository sources: both shipped compose files (docker-compose.desktop.yml, docker-compose.build.yml), the Dockerfiles, backend/pom.xml, application.yml, the package.json files and test-runner/requirements.txt. A guard (tools/docs/test/architecture-docker.test.mjs) checks that every image named here exists in the compose files or in the Dockerfiles they build, and that none is on latest.

Images and builds

PerfShop uses a mix of official images, all at a pinned version, and images built from the tree's code (backend, shop, administration, chaos console, monitoring, welcome page, documentation, runner, Node interfaces, Playwright, relay). The shipped compose files give the latter no version tag: Docker Compose names them after the project and the service, and the tree's commit is what versions them.

Application core

Component Version Role Docker image
Java 17 Spring Boot backend runtime (eclipse-temurin:17-jre) (embedded in the backend)
Spring Boot 3.2.2 Backend framework (REST, JPA, Actuator) (embedded in the backend)
Spring Web MVC included Synchronous HTTP stack with embedded Tomcat (embedded in the backend)
Hibernate ORM included JPA, MySQLDialect (embedded in the backend)
HikariCP included JDBC connection pool, name PerfShopHikariPool, max 20 / min 5 (embedded in the backend)
Flyway included Versioned SQL migrations, one series per language (db/migration-fr, db/migration-en) (embedded in the backend)
Lombok included @Data / @Getter / @Setter generation (embedded in the backend)
BCrypt included (Spring Security crypto) User and admin password hashing (strength 10) (embedded in the backend)
MySQL 8.0 Main database mysql:8.0
React 18 E-commerce shop UI framework (embedded in the shop)
Vite 5 Frontend bundler (embedded in the shop)
nginx (official alpine image) Serves the React bundle + internal reverse proxy (embedded in the shop)

Admin and instructor tools

Component Stack Role Docker image
perfshop-admin Vanilla HTML/CSS/JS served by nginx Backoffice for products, orders, accounts built (admin/Dockerfile, from nginx:alpine)
perfshop-chaos-admin Vanilla HTML/CSS/JS served by nginx Control panel for the 6 chaos families built (chaos-admin/Dockerfile, from nginx:alpine)
perfshop-monitoring Node.js 24 + Express 4 Real-time HTML dashboard + aggregation of the container statistics (Docker API, through the relay) built (monitoring/Dockerfile, from node:24.15.0-alpine)
perfshop-welcome nginx + static HTML Landing page with the URL directory built (welcome/Dockerfile, from nginx:1.27-alpine)

Observability

Component Version Role Docker image
Prometheus 3.2.1 Metrics collection prom/prometheus:v3.2.1
Grafana 12.0.0 Dashboards and exploration grafana/grafana:12.0.0
Loki 3.4.2 Log storage (Promtail → Loki) grafana/loki:3.4.2
Promtail 3.4.2 Docker log collection (Docker API, through the relay) grafana/promtail:3.4.2
Tempo 2.4.2 Distributed traces storage and query grafana/tempo:2.4.2
Pyroscope 1.13.0 JVM continuous profiling grafana/pyroscope:1.13.0
OpenTelemetry Java agent 1.33.6 (opentelemetry-javaagent.jar, backend/Dockerfile) OTLP traces export from the backend (embedded in the backend)
Pyroscope Java agent 0.14.0 (pyroscope.jar, backend/Dockerfile) JFR export of CPU/alloc/lock profiles (embedded in the backend)
OpenSearch 2.13.0 Indexing and full-text search of logs opensearchproject/opensearch:2.13.0
OpenSearch Dashboards 2.13.0 OpenSearch visualization UI opensearchproject/opensearch-dashboards:2.13.0
Vector 0.38.0-alpine Docker logs collection → OpenSearch (VRL transform) timberio/vector:0.38.0-alpine

Pedagogical QA stack

Component Version Role Docker image
Squash TM 9.0.0 Test case management ALM built (squash-tm/Dockerfile, from squashtest/squash:9.0.0)
Squash Orchestrator 4.14.0 SSH-driven test execution squashtest/squash-orchestrator:4.14.0
PostgreSQL 16 Dedicated Squash TM database postgres:16
Selenium standalone-chrome 4.43.0 Selenium Grid + headless Chrome + noVNC selenium/standalone-chrome:4.43.0
Robot Framework 7.0 Functional testing framework (embedded in the runner)
robotframework-seleniumlibrary 6.3.0 Selenium bindings for Robot Framework (embedded in the runner)
robotframework-requests 0.9.6 HTTP bindings for Robot Framework (embedded in the runner)
robotframework-jsonlibrary 0.5 JSON manipulation (embedded in the runner)
pytest 8.0.0 Alternative Python framework (embedded in the runner)
selenium (Python) 4.18.1 Python Selenium driver (embedded in the runner)
OpenSSH server (Debian) SSH channel used by Squash Orchestrator (embedded in the runner)
JMeter 5.5 (justb4/jmeter image) HTTP load testing justb4/jmeter:5.5
perfshop-jmeter-ui Node.js 24-alpine + Express 4 + @perfshop/shared-node (B0) UI to drive JMeter test runs built (jmeter-ui/Dockerfile, from node:24.15.0-alpine); under Docker Desktop, node:24.15.0-alpine with the code and shared-node mounted
perfshop-scripts-ui Node.js 24-alpine + Express 4 + @perfshop/shared-node (B0) Editor and launcher for pedagogical scripts built (scripts-ui/Dockerfile, from node:24.15.0-alpine)
Forgejo 14 Self-hosted Git (community fork of Gitea) codeberg.org/forgejo/forgejo:14
perfshop-test-ai Node.js 24-alpine + Express 4 + @perfshop/shared-node (B0) AI-assisted testing workshop built (test-ai/Dockerfile, from node:24.15.0-alpine)
Playwright 1.50.0 Browsers driven by Test-AI built (test-ai/Dockerfile.playwright, from mcr.microsoft.com/playwright:v1.50.0-jammy)

Cross-cutting tools

Component Version Role Docker image
MkDocs Material 9.6.22 Documentation served by the perfshop-docs container built (mkdocs/Dockerfile, from squidfunk/mkdocs-material:9.6.22)
Mermaid 11.17.2 Documentation diagrams, served by perfshop-docs: the documentation draws them offline copied into mkdocs/docs/vendor/mermaid/ (provenance: NOTICE.md)
Inter and JetBrains Mono fonts @fontsource 5.3.0 Documentation fonts, served by perfshop-docs: no call to Google Fonts copied into mkdocs/docs/vendor/fonts/ (provenance: NOTICE.md)
Python (seeds) 3.11-slim Initialization scripts for Grafana, Squash, Forgejo, OpenSearch — standard library only: no package installed, nothing is downloaded or built when they start python:3.11-slim
Node.js (accounts, keys) 24.15.0-alpine perfshop-comptes-seed (class accounts) and perfshop-orchestrator-keys (orchestrator keys) — Node only, no package installed node:24.15.0-alpine
perfshop-docker-relay Node.js 24-alpine, no dependency Docker socket relay: the only service that mounts the daemon socket; it grants each client only the calls its feature needs — see Docker socket: the relay node:24.15.0-alpine (local build of ./docker-relay)

Internal frameworks and libraries

On the backend side, the application code relies on these standard Spring dependencies:

Capability Implementation
HTTP sessions jakarta.servlet.http.HttpSession (30 min timeout, HttpOnly cookie, secure and same-site attributes configurable via env)
User authentication AuthService + BCrypt strength 10, LOGGED_IN_USER session attribute
Admin authentication AdminAuth (admin_logged_in session or X-Admin-Token header)
Validation jakarta.validation.@Valid + LoginRequest DTO, business ValidationService
Internationalization Spring MessageSource + messages.properties resolution (FR/EN), I18nService service
Application metrics Spring Boot Actuator + Micrometer + Prometheus endpoint on management port 9090

Key versions to remember

If you must remember five versions

  • Java 17 + Spring Boot 3.2 on the backend
  • MySQL 8 on the data side
  • Grafana 12.0.0 on the observability side (the dashboards rely on Grafana ≥ 11 features)
  • Tempo 2.4.2, pinned like every image of the stack: a version bump is a milestone, replayed everywhere
  • Forgejo 14 on the Git side