4 ms·
One of the good things about it is that using asynchrony is optional. If you don't have to call out anywhere to build the response, processing can all stay in t
by kitd 3y ago
One of the good things about it is that using asynchrony is optional. If you don't have to call out anywhere to build the response, processing can all stay in the handler's calling thread. If you do, you can return a future and have the library handle the async for you.
One downside is that it is based on Jetty which isn't considered the most performant backend. A lib with a similar API but based on Netty is Jooby [1] which scores well in the Techempower benchmarks.
[1] - https://jooby.io/ https://jooby.io/
- javajosh 3y ago>Jetty which isn't considered the most performant backend This definitely needs some supporting links. Jetty itself is extremely fast in my experience.
- hanszarkov 3y agoConcur, Jetty has been faster than Tomcat in my experience. Undertow seems even faster in my testing.