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
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
:) , 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
> _
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
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
.
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
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
'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
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