[grpc-io] gRLC L86: Aspect-based Python Bazel Rules

2021-09-08 Thread 'Michael Beardsworth' via grpc.io
Hi all, We created a gRFC for Aspect-based Python Bazel Rules. *Please note that this change proposes removing the `plugin` attribute from the `py_proto_library` rule.* https://github.com/grpc/proposal/pull/263 Looking forward to your feedback! Michael -- You received this message because

[grpc-io] Re: Can grpc connection be closed and re established without restarting the app in golang?

2021-09-08 Thread 'Easwar Swaminathan' via grpc.io
Flag names need to be unique. This is not a restriction imposed by gRPC. This is the Go stdlib. See: https://pkg.go.dev/flag. It is not very clear from your description what exactly you are trying to do. Closing and re-establishing a connection, although a valid operation, is not something

Re: [grpc-io] how to get metadata in grpc impl

2021-09-08 Thread 'Eric Anderson' via grpc.io
I responded to your question on Gitter . I said: I don't think I understand. You are wanting to get CUSTOM_HEADER_KEY's > "customRespondValue" within sendPing()? It is really weird that the service would want to read response headers. So

[grpc-io] Re: LiveStream Android Camera to Server

2021-09-08 Thread 'yas...@google.com' via grpc.io
https://grpc.io/docs/platforms/android/java/quickstart/ I hope that helps! On Tuesday, September 7, 2021 at 2:00:18 AM UTC-7 tsiau...@gmail.com wrote: > Hi Team, > I am very new in GRPC, > I need to implement android java application for streaming my android > device camera to server with

Re: [grpc-io] Re: grpc c++ performance - help required

2021-09-08 Thread 'Mark D. Roth' via grpc.io
It sounds like this is a Windows-specific problem, which unfortunately means that we probably can't help you much in the short term, since we don't have any spare cycles to focus on Windows-specific performance. As I mentioned earlier, the Windows-specific TCP code in gRPC will be replaced by the

[grpc-io] Re: Using 0.0.0.0 as server listen address

2021-09-08 Thread 'yas...@google.com' via grpc.io
For C++, the bound port is available in the `selected_port` parameter of the `AddListeningPort` API. On Wednesday, September 1, 2021 at 10:39:11 AM UTC-7 Yuri Golobokov wrote: > Hi, > > Which language are you using for gRPC server? > > On Friday, August 27, 2021 at 12:44:50 PM UTC-7

[grpc-io] Can grpc connection be closed and re established without restarting the app in golang?

2021-09-08 Thread Arpitha Rao
I am new to golang and grpc. I am trying to dynamically load some configurations to an app that I am currently working on. I need to learn if grpc client connection from my app to another grpc server connection in an upstream component can be closed and re established based the interrupt

[grpc-io] Re: How to set the thread number of callback_server

2021-09-08 Thread Oleg Linkin
Also: https://github.com/grpc/grpc/blob/master/src/cpp/common/completion_queue_cc.cc#L56 On Wednesday, September 8, 2021 at 1:36:37 PM UTC+3 Oleg Linkin wrote: > Hi. > > Currently, the thread count is automatically selected by the library > with no user input and is set to half the system's

[grpc-io] Re: How to set the thread number of callback_server

2021-09-08 Thread Oleg Linkin
Hi. > Currently, the thread count is automatically selected by the library with no user input and is set to half the system's core count, but no less than 2 and no more than 16. https://github.com/grpc/proposal/blob/master/L67-cpp-callback-api.md On Wednesday, September 8, 2021 at 12:21:43 PM

Re: [grpc-io] Re: grpc c++ performance - help required

2021-09-08 Thread Sureshbabu Seshadri
Thanks Mark for some more details. Our target environment is *windows client and Linux Server *and hence executed samples in similar fashion. Now as per your request executed same sample in Linux client and the performance is very good. 1000 RPCs are finished *within 1 second (about 500 ms).*

[grpc-io] How to set the thread number of callback_server

2021-09-08 Thread '张帅' via grpc . io
When Server In callback mode, it has only four thread can accept the request from Clients in the same time.So, i want to know how to change the thread number of callback_server. Sorry for my poor english, have a good day! -- You received this message because you are subscribed to the Google