See me Proof of concept sync async and reactive frecuency.
For this example we're using project reactor and Vaadin flow, showing a way of how to execute an operation in another thread or scheduler.
This example does not expose any endpoints, but doing so might be a better way to measure the performance of these paradigms where reactive aproach generally has twice the performance in the long run.