/[Apache-SVN]
ViewVC logotype

Revision 673550


Jump to revision: Previous Next
Author: dreiss
Date: Wed Jul 2 23:55:04 2008 UTC (16 years, 4 months ago)
Changed paths: 11
Log Message:
(THRIFT-5) A TNonblockingServers (single-threaded and thread-pool) for Java

This patch adds two Thrift servers for Java that both use non-blocking I/O
to avoid locking up worker threads for idle connections.  The two classes are
- TNonblockingServer, which supports single-threaded serving
- THsHaServer, which performs I/O in one thread and method invocations in
  a configurable thread pool.
To support these servers, TNonblockingServerSocket and TNonblockingSocket
have been added.


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/server/THsHaServer.java added
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/server/TNonblockingServer.java added
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/transport/TFramedTransport.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/transport/TNonblockingServerSocket.java added
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/transport/TNonblockingServerTransport.java added
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/transport/TNonblockingSocket.java added
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/transport/TNonblockingTransport.java added
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/transport/TTransport.java modified , text changed
Directoryincubator/thrift/trunk/test/java/TestNonblockingServer added
Directoryincubator/thrift/trunk/test/java/src/TestClient.java modified , text changed
Directoryincubator/thrift/trunk/test/java/src/TestNonblockingServer.java added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26