[grpc-io] Re: [Python3.7] Multiprocessor grpc or async

2022-08-01 Thread MAX IKON
, 1 августа 2022 г. в 18:39:09 UTC+5, MAX IKON: > What is better multiprocessor grpc on python or async? > Explain how workers work? > I wrote a service with grpc.aio support, installed 10 workers. It turns > out 10 parallel messages should be processed at once? That is 10rps, b

[grpc-io] [Python3.7] Multiprocessor grpc or async

2022-08-01 Thread MAX IKON
What is better multiprocessor grpc on python or async? Explain how workers work? I wrote a service with grpc.aio support, installed 10 workers. It turns out 10 parallel messages should be processed at once? That is 10rps, but I have a maximum of 3rps. -- You received this message because you

[grpc-io] [python] How to add REST API support using google.api.http?

2022-01-14 Thread MAX IKON
Can you please tell me how to add REST API support using google.api.http?syntax = "proto3"; import "google/api/annotations.proto"; service TestService { rpc Method(MethodRequest) returns (MethodResponse) { option (google.api.http) = { post: "/api/v1/test" body: "*" }; } } What should be added

[grpc-io] Binding network interface to gRPC channel [python]

2021-01-21 Thread Max
Is there a way to bind a gRPC channel to a network interface (e.g. eth0)? The moment i configure a macsec interface it automatically tries to connect via that interface, which doesn't work. Netns might work, however, it breaks my MySQL connection on localhost. -- You received this message

[grpc-io] CodeLingo - Product Demo

2020-07-28 Thread Max Bornstaedt
Hi gRPC Ecosystem Team, My name is Max from CodeLingo. We're working on a platform to help dev teams write better code faster, together. Would you be up for a product demo showing how CodeLingo could help your grpc-gateway project? I've invited you to a call here <https://calendly.com/codeli

[grpc-io] Start a grpc server on a remote machine

2016-08-30 Thread max
I read from the tutorial that "server.start() does not block you may need to sleep-loop if there is nothing else for your code to do while serving." Is the recommended approach to include the following code after server.start()? try: while True: time.sleep(60*60*24) except