thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Abernethy <Randy.Aberne...@rx-m.com>
Subject Re: Change backlog connection count
Date Wed, 05 Jun 2013 00:34:57 GMT
Hello Vivek,

At the moment the acceptBacklog_ is hard coded to 1024.THRIFT-1997 
<https://issues.apache.org/jira/browse/THRIFT-1997> addresses this.
If you apply the 1997 patch you can invoke setAcceptBacklog( myBLValue 
); on the TServerSocket
that you pass to TThreadedServer. You must set the new backlog before 
calling listen().

Hope this helps.

Best,
Randy

On 6/4/2013 11:57 AM, Vivek Goel wrote:
> Hi
> I am using c++ lib. Is there way to change backlog connection count in
> threaded server ?
>


-- 
Randy Abernethy
Managing Partner, RX-M, LLC
randy.abernethy@rx-m.com
Cell: +1-415-624-6447
San Francisco: +1-415-800-2922
Tokyo: +81-50-5532-8040
www.rx-m.com
@rxmllc


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message