A Quarkus demo that shows different concurrency styles for a simple REST API that pours beverages and persists them:
- Blocking (Platform Threads + Hibernate ORM)
- Reactive (Mutiny + Hibernate Reactive)
- Virtual Threads (Virtual Threads + Hibernate ORM)
- Structured Concurrency (Structured Concurrency + Hibernate ORM)
The project exposes endpoints for each style and stores results using repositories. It is intended for learning, not production.
If you want to learn more about Quarkus, please visit its website: https://quarkus.io/.
- JDK 25
- Docker or Podman running
You can run your application in dev mode that enables live coding using:
./mvnw quarkus:devNOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.
See examples.http for ready-made requests (usable with IDE HTTP client tools).