org.http4s.servlet
Type members
Classlikes
- Companion:
- object
- Companion:
- object
Use standard blocking reads and writes.
Use standard blocking reads and writes.
This is more CPU efficient per request than NonBlockingServletIo, but is likely to require a larger request thread pool for the same load.
Mainly a convenience for our servlet examples, but, hey, why not.
Mainly a convenience for our servlet examples, but, hey, why not.
Use non-blocking reads and writes. Available only on containers that support Servlet 3.1.
Use non-blocking reads and writes. Available only on containers that support Servlet 3.1.
This can support more concurrent connections on a smaller request thread pool than BlockingServletIo, but consumes more CPU per request. It is also known to cause IllegalStateExceptions in the logs under high load up through at least Tomcat 8.0.15. These appear to be harmless, but are operationally annoying.