Skip to content

Clarification on Threading and Reactive vs. MVC Setup #303

Answered by arey
v-nafiseh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @v-nafiseh

Thanks for using the Discussions tab of the Spring Petclinic microservices project, it is the right place.
We have different microservices. Each could use its own stack.

The api-gateway microservice uses Spring Boot Gateway. Its spring-cloud-starter-gateway starter depends on the spring-boot-starter-webflux which uses the reactive stack (reactor and netty). Jetty is used as the web container.

The other microservices use a non-reactive stack. Tomcat is used as the web container.
Java 21 virtual threading is not enabled in this project. So Tomcat uses physical threads.
The default Spring Boot configuration has not been customised by setting the server.tomcat.threads.max proper…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@v-nafiseh
Comment options

Answer selected by v-nafiseh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants