Re: Thrift / Scala concurrency issue

2009-09-17 Thread Michael Armbrust
The JavaDoc for TNonBlockingServer says that This allows for fairness amongst all connected clients in terms of invocations. This server is inherently single-threaded. If you want a limited thread pool coupled with invocation-fairness, see THsHaServer. So using TNonBlockingServer probably isn't

Thrift / Scala concurrency issue

2009-09-16 Thread Sebastian Latza
Hi everybody, while Scala isn''t natively supported by Thrift, maybe someone has seen the same problem I'm facing. I have got a very simple Thrift service which is doing some processing (100 to 1000ms) and then returns the result back to the client. When benchmarking I noticed that when