[grpc-io] C#: Only one server thread processes all requests

2016-12-01 Thread Юрий Скиндерский
Could anybody please help me with the question originally posted on stackoverflow ? I have a grpc service written in C# which has 2 calls like Start and Stop. When a client calls Start (this call takes much time) and then Stop server processes

Re: [grpc-io] Re: http2 reverse proxy:how to reduce connections with backend server(s)?

2016-12-01 Thread killjason
@Josh Humphries, your plan is nice, gRPC currently not support init stream in server side, so this limit can be ignored. 在 2016年12月2日星期五 UTC+8上午2:18:54,Josh Humphries写道: > > On Thu, Dec 1, 2016 at 12:26 PM, killjason > wrote: > >> In my case: >> 1.The backend servers

[grpc-io] viability of using gRPC to replace our existing RPC framework

2016-12-01 Thread Arpit Baldeva
Hi, I am investigating the viability of using gRPC (C++ version) to replace our existing RPC framework at Electronic Arts and would appreciate if somebody can provide me some answers in order for me to make the best judgement. For most of our existing usage, I have an idea of how to do that

Re: [grpc-io] Re: C++ async example.

2016-12-01 Thread 'Vijay Pai' via grpc.io
This hasn't had a response in a while so I wanted to followup again. We don't allow fire-and-forget or for that matter anything that would allow more than 1 outstanding op on the same side of a stream without an intervening Next (or completed AsyncNext) for two key reasons: making sure that we

Re: [grpc-io] Re: http2 reverse proxy:how to reduce connections with backend server(s)?

2016-12-01 Thread Josh Humphries
On Thu, Dec 1, 2016 at 12:26 PM, killjason wrote: > In my case: > 1.The backend servers represent a same micro-service(may be contains 10 > machines) serving the same APIs. > 2.The proxy is based on pure Netty(no gRPC included). but clients and > backend servers are

[grpc-io] Re: http2 reverse proxy:how to reduce connections with backend server(s)?

2016-12-01 Thread killjason
In my case: 1.The backend servers represent a same micro-service(may be contains 10 machines) serving the same APIs. 2.The proxy is based on pure Netty(no gRPC included). but clients and backend servers are developed on gRPC. I am not sure if one Netty channel can represents multiple connections

[grpc-io] Re: http2 reverse proxy:how to reduce connections with backend server(s)?

2016-12-01 Thread 'Carl Mastrangelo' via grpc.io
This depends on how homogeneous your backends are. For example, if your proxy going to the same logical set of backends each time, (even if they are distinct machines) then yes this is possible with gRPC. In gRPC, a channel represent a higher level concept than a single client. It

[grpc-io] http2 reverse proxy:how to reduce connections with backend server(s)?

2016-12-01 Thread killjason
(moved from: https://github.com/grpc/grpc-java/issues/2470) Imagine there are 10k grpc-clients, they established 10k http2 connections(TCP-connections) with the http2 reverse proxy; then http2 reverse proxy create 10k http2 connections(TCP-connections) to the origin(backend) server. Is it