NonBlockingServletIo

final case class NonBlockingServletIo[F[_]](chunkSize: Int)(implicit evidence$3: Async[F]) extends ServletIo[F]

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.

trait Serializable
trait Product
trait Equals
class ServletIo[F]
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product