Hello,

I've done a performance comparison between TThreadedServer and 
TNonblockingServer.
I tested the 2 servers under these conditions:

- multi-core server (8 core with hyperthreading)
- a small number of clients (300)

Here are the test results:

https://github.com/m1ch1/mapkeeper/wiki/TThreadedServer-vs.-TNonblockingServer

TThreadedServer performed much better under these conditions, and I'm suspecting
the I/O thread is being the bottleneck for TNonblockingServer. There is an open
jira to add support for multiple I/O threads in Java:

https://issues.apache.org/jira/browse/THRIFT-1167

Is anybody working on a similar feature in C++?

Thanks!
--Michi

Reply via email to