Hi
I want to know what is the best practice to use GRPC client channels.
For each GRPC client-server pair, should I just create a single channel
that is shared among all threads, or should I create a pool of channels and
make sure one channel is used by one thread at a time?
I am asking this is
Protobuf does not support defining custom field types. You need to
represent your data using some existing protobuf field types and probably
also write some helper functions to do translation between the proto type
and the actual type you want to store.
On Thu, Sep 15, 2016 at 8:48 AM, 'Nathaniel
Hi,
I am wondering if generated source files from .proto files should be
checked into repository. I am particularly referring to python. What do you
think ?
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop re
On Tue, Sep 13, 2016 at 8:34 PM, wrote:
> I'm writing a rpc server/client very similar to the one on tutorial with
> server-side pool connection. There are multiple clients and they requsted
> at a defferent time.
>
> However, if the server receive an additional request while already
> streaming
+proto...@googlegroups.com once more with feeling
On Thu, Sep 15, 2016 at 8:41 AM, Nathaniel Manista
wrote:
> +proto...@googlegroups.com
>
> On Wed, Sep 14, 2016 at 10:10 PM, wrote:
>
>> >>> gRPC Python sounds like a great fit for your use.
>> I think the same.
>>
>> And another small question.
+proto...@googlegroups.com
On Wed, Sep 14, 2016 at 10:10 PM, wrote:
> >>> gRPC Python sounds like a great fit for your use.
> I think the same.
>
> And another small question. A can't find mechanizm in documentation how
> can i create user-define type. I need something like decimal, but in
> "Sc
I've attached a few pastebins of code samples:
proto file: http://pastebin.com/F0QaTW14
server: http://pastebin.com/rL1YxffU
client: http://pastebin.com/fu69Jbkn
All being accessed via respective functions, those seen in the server (in
the return) all finish in under 1ms (measured)
On Thursday,
I have client which make a request to server and Server in reply sends a
Stream-reply, This works fine for small number of message but when the
number of messages are large then My client is shutdown before I could
receive all the message.
Following is how I have implemented Server RPC Streamin