RE: Question about Multithreaded Thrift Servers

2013-04-08 Thread Napolitano, Diane
Multithreaded Thrift Servers Wow, that's extremely useful. Thanks for sharing! - Diane From: Mike Stanley [m...@mikestanley.org] Sent: Monday, April 08, 2013 2:42 PM To: user@thrift.apache.org Subject: Re: Question about Multithreaded Thrift Servers HI

RE: Question about Multithreaded Thrift Servers

2013-04-08 Thread Napolitano, Diane
Wow, that's extremely useful. Thanks for sharing! - Diane From: Mike Stanley [m...@mikestanley.org] Sent: Monday, April 08, 2013 2:42 PM To: user@thrift.apache.org Subject: Re: Question about Multithreaded Thrift Servers HI Diane, I found this ar

Re: Question about Multithreaded Thrift Servers

2013-04-08 Thread Mike Stanley
:) , calling methods on the server. We have a cluster > setup here, and I have one cluster job that is the server, and several > thousand cluster jobs that are each one client, or one request to the > server. > > So, hmm. > > Thanks, > Diane > _

RE: Question about Multithreaded Thrift Servers

2013-04-08 Thread Napolitano, Diane
too.) Thanks for your help! Best, Diane From: Ben Craig [ben.cr...@ni.com] Sent: Friday, April 05, 2013 4:34 PM To: user@thrift.apache.org Subject: RE: Question about Multithreaded Thrift Servers Are you running out of ports / file descriptors? I have atte

RE: Question about Multithreaded Thrift Servers

2013-04-05 Thread Ben Craig
socket doesn't immediately free up the resources in the TCP/IP stack. It typically takes a few minutes for those resources to be freed. From: "Napolitano, Diane" To: "user@thrift.apache.org" , Date: 04/05/2013 03:32 PM Subject: RE: Question about Multithr

RE: Question about Multithreaded Thrift Servers

2013-04-05 Thread Napolitano, Diane
. So, hmm. Thanks, Diane From: Ben Craig [ben.cr...@ni.com] Sent: Friday, April 05, 2013 4:20 PM To: user@thrift.apache.org Subject: RE: Question about Multithreaded Thrift Servers You only mention requests, so I'm not sure if these are all going ove

RE: Question about Multithreaded Thrift Servers

2013-04-05 Thread Ben Craig
confused because your answer makes it sound like what I'm seeing shouldn't be happening. :/ Thanks, Diane From: Ben Craig [ben.cr...@ni.com] Sent: Friday, April 05, 2013 3:55 PM To: user@thrift.apache.org Subject: Re: Question about Multithreaded Thrift

RE: Question about Multithreaded Thrift Servers

2013-04-05 Thread Napolitano, Diane
'm seeing shouldn't be happening. :/ Thanks, Diane From: Ben Craig [ben.cr...@ni.com] Sent: Friday, April 05, 2013 3:55 PM To: user@thrift.apache.org Subject: Re: Question about Multithreaded Thrift Servers The threaded server uses one thread per

Re: Question about Multithreaded Thrift Servers

2013-04-05 Thread Ben Craig
The threaded server uses one thread per connection. It does not get a request, and have an available thread process the request. This means that if you send 20 requests, and the 10th request takes a long time to process, the last ten requests will be stalled. From: "Napolitano, Diane" To