Jetty provides several types of connectors that allow you to tailor the server setup to suit your circumstances. Steps SelectChannelConnector This connector uses efficient NIO buffers with a non-blocking threading model. Jetty uses Direct NIO buffers, and allocates threads only to connections with requests. Synchronization simulates blocking for the servlet API, and any unflushed content at the end of request handling is written asynchronously. See javadoc . This connector is best used when there are a many connections that have idle periods. When used with Continuations ,
Read full article from Jetty/Howto/Configure Connectors - Eclipsepedia
No comments:
Post a Comment