ADR 001: Quarkus as the main framework
Status: accepted
Context
The platform ran on a conventional Java framework. Moving to Quarkus was considered for faster startup, lower memory use and a better fit with cloud-native technologies.
Decision
Quarkus is the main framework of the platform.
- Performance. Fast startup and low memory use, which matter for containers.
- Cloud-native. Designed for Kubernetes.
- Standards. Supports Jakarta EE and MicroProfile, which eases migration of existing code.
- Vert.x. Quarkus is built on Vert.x, which the platform already uses.
Consequences
Benefits
- Better startup time and resource use.
- Simpler integration with Kubernetes and cloud environments.
- Adoption of current standards.
Costs
- Part of the existing code has to be rewritten or adapted.
- A learning curve for the development team.
- Build and delivery pipelines may need changes.
Alternatives considered
- Spring Boot. Further from the existing architecture.
- Micronaut. Comparable to Quarkus, with a smaller ecosystem.