Re: how does a oneway method work with TThreadPoolServer

2017-07-14 Thread Parvesh Garg
Hi Randy, Thanks a lot for your response. Actually, this is exactly the behavior i'm looking for, not concurrency. My client takes time before it can construct an event, meanwhile the server was idle. Sequence of events is important, so no concurrency. Thanks again On Fri, 14 Jul 2017 at 9:33 PM

Re: how does a oneway method work with TThreadPoolServer

2017-07-14 Thread Randy Abernethy
Hey Parvesh, The C++ Threaded and ThreadPool severs assign a single thread to each connection. So if you send 10 requests (one way) on a single connection a single server thread will handle them in order (serially). Even the nonblocking C++ server handles requests serially per connection (though i

how does a oneway method work with TThreadPoolServer

2017-07-14 Thread Parvesh Garg
Hi, I have a basic question about how the oneway method called from client work with TThreadPoolServer. We have a server written in C++ that uses thread pool server with 4 threads. The client in python connects only once and keep pushing data to server using a oneway method. Our doubt is will the