Package voldemort.server.niosocket

The Voldemort NIO socket server implementation.


Class Summary
AsyncRequestHandler AsyncRequestHandler manages a Selector, SocketChannel, and RequestHandler implementation.
NioSelectorManager SelectorManager handles the non-blocking polling of IO events using the Selector/SelectionKey APIs from NIO.
NioSelectorManagerStats Encapsulates all the statistics about various metrics in the NIO Network layer
NioSocketService NioSocketService is an NIO-based socket service, comparable to the blocking-IO-based socket service.

Package voldemort.server.niosocket Description

The Voldemort NIO socket server implementation.

The NIO server is enabled in the file by setting the "enable.nio.connector" property to "true". If you want to adjust the number of SelectorManager instances that are used, change "nio.connector.selectors" to a positive integer value. Otherwise, the number of selectors will be equal to the number of CPUs visible to the JVM.

Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu