This project demonstrates some very simple microservices that conform to the same specification:
- Dropwizard
- Helidon SE - Reactive server
- Helidon MP - Microprofile
- Micronaut
- Quarkus
- Spring Boot WebFlux
- Spring Boot WebMVC
- Vert.x
Config:
- Entrypoint:
uk.dansiviter.microservices.{framework}.Main - Port:
8080 - URIs:
GET /hello/{name}: Respond withHello {name}!.GET /hello/error: Throw aCustomExceptionwhich should map to a400 Oh no!.
To build:
mvn clean package jib:dockerBuild "-Dquarkus.container-image.build=true"To Run benchmarks
docker run -p 8080:8080 -it --rm {module}:latest
docker run --rm -it benchmark:latest