[grpc-io] Limit max number of connections

2016-08-01 Thread Chaitanya Gangwar
Hi, Is there any way to limit maximum number of connections in grpc server ? I want to limit number of connections till 8 and after that server should reject any more new client connections. Thanks Chaitanya -- You received this message because you are subscribed to the Google Groups

Re: [grpc-io] Re: Limit max number of connections

2016-08-04 Thread Chaitanya Gangwar
ecific requirement. > > On Wed, Aug 3, 2016 at 11:58 PM, Chaitanya Gangwar <chaitany...@gmail.com > > wrote: > >> Hi Vijay, >> >> In normal tcp connection, listen api, takes backlog as argument which can >> be used to limit the max number of connections.

[grpc-io] Re: Limit max number of connections

2016-08-04 Thread Chaitanya Gangwar
Vijay > > On Tuesday, August 2, 2016 at 10:30:18 PM UTC-7, Chaitanya Gangwar wrote: >> >> I am using C++ grpc library. >> >> -Chaitanya >> >> On Tuesday, 2 August 2016 10:11:13 UTC+5:30, Chaitanya Gangwar wrote: >>> >>> Hi, >>> >>

[grpc-io] Re: Correct way to Stop grpc Async server : C++

2016-08-08 Thread Chaitanya Gangwar
Thanks Koen, I also realized the same behavior after i did more testing. Thanks for help. Its working now. -Chaitanya On Tuesday, 9 August 2016 02:54:02 UTC+5:30, Koen De Keyser wrote: > > Your server has one or more RPC's, and doing a shutdown implies a Cancel > on each RPC. This cancel

[grpc-io] detect client disconnect C++

2016-08-17 Thread Chaitanya Gangwar
Hi, I have Async streaming server implemented in C++. I want to know is there any way to detect on server side when a client disconnects so that i can clean up the resources. Currently i am relying on "m_serverContext->IsCancelled ()" but i need to periodically check this if the client is

[grpc-io] issue in ServerAsyncWriter : C++

2016-08-23 Thread Chaitanya Gangwar
Hi All, I have implemented Async streaming server and to post data to client i am using ServerAsyncWriter api. I am facing a issue in this api in below mentioned scenario : - Server is up and running - clients are connected and at a specified timer, i am posting data to clients - from other

[grpc-io] URGENT: Crash in grpc code while running asynchorous stream for long time.

2017-03-27 Thread Chaitanya Gangwar
Hi , I am seeing following a crash in grpc code. I have 5 node setup, where all nodes are streaming out data. After few hours of streaming, I am seeing a crash on 2 nodes but rest 3 nodes are working fine. It is not always reproducible. Looks like some timing issue. Below is the crash : #0

Re: [grpc-io] URGENT: Crash in grpc code while running asynchorous stream for long time.

2017-03-27 Thread Chaitanya Gangwar
before starting a new one. > > On Sun, Mar 26, 2017, 11:47 PM Chaitanya Gangwar <chaitany...@gmail.com> > wrote: > >> Hi , >> >> I am seeing following a crash in grpc code. I have 5 node setup, where >> all nodes are streaming out data. After few hours of

Re: [grpc-io] Re: using grpc for push notification

2017-08-16 Thread chaitanya gangwar
; wrote: >> >>> Chaitanya, >>> >>> that would be really useful, thanks, I will look forward to seeing the >>> code. It is strange that gRPC does not have asynchronous stream support, >>> you would think this kind of listener/observe pattern would be

Re: [grpc-io] Re: using grpc for push notification

2017-08-16 Thread chaitanya gangwar
;> On Thu, Jun 15, 2017 at 6:39 PM, John Coffey <joh...@gmail.com> wrote: >>>> >>>>> Chaitanya, >>>>> >>>>> that would be really useful, thanks, I will look forward to seeing the >>>>> code. It is strange that gRPC

Re: [grpc-io] Need Help for setting ssl connection C++

2017-05-24 Thread chaitanya gangwar
, 2017 at 12:43 PM, <ankitbatra2...@gmail.com> wrote: > Hi Chaitanya, > > I am trying to do similar thing,and facing the same error. Can you please > let me know how you resolved this issue? > > Thanks! > > On Wednesday, February 10, 2016 at 5:02:14 AM UTC+5:30, Chaitany

Re: [grpc-io] Re: using grpc for push notification

2017-06-14 Thread chaitanya gangwar
;> Unregister when the stream errors or when you close the stream. You close >> it via calling onComplete or onError (latter will send error code to the >> client). >> >> >> >> >> *Josh Humphries* >> Manager, Shared Systems | Platform E

Re: [grpc-io] Re: using grpc for push notification

2017-06-15 Thread chaitanya gangwar
eam support, > you would think this kind of listener/observe pattern would be a pretty > popular feature. > > John > > > On Thursday, June 15, 2017 at 12:55:10 AM UTC-4, Chaitanya Gangwar wrote: >> >> Hi John, >> >> When i was working on this, there was n

[grpc-io] Re: using grpc for push notification

2018-03-16 Thread Chaitanya Gangwar
Hi All, Previous files got deleted somehow. I am uploading it again. Please use this link : https://drive.google.com/file/d/1jqviARRz5muVCdsBjw3WPH8xSSGpXrv1/view?usp=sharing Thanks Chaitanya On Saturday, 23 January 2016 01:58:18 UTC+5:30, Chaitanya Gangwar wrote: > > Hi, >