-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Background
Currently in controllers we return CompletableFutures, but code is not executed concurrently (Tomcat's connection accepting threads are blocked by our code [authentication and services]). I don't think running services code (JWT generation etc.) is expensive-enough to have it concurrent though.
Feature
Decide whether to remove CompletableFuture (simplifies code), or try to do things concurrently (which is nontrivial as in Spring WebMVC it is impossible to perform authentication in another thread and something like Spring WebFlux would be needed).
I personally would prefer to not go with concurrency approach for this project and just remove CompletableFutures.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed