[grpc-io] Re: grpc.io

2023-02-16 Thread Jeffrey Berg
@Amanda I assume you either got it to work or have given up by now. So, this is for others. When you run the pip install with --no-binary option, it builds from a compressed archive (from source code). I have built the grpc libraries from source before, and there are a ton of dependencies, so

[grpc-io] Python grpc.aio.UnaryUnaryCall and blocking asyncio?

2023-02-16 Thread Charles Chan
Hello, We are using Python 3 to implement a HTTP server using asyncio, the HTTP server initiates a grpc.aio.UnaryUnaryCall to the backend to retrieve a (large) file. We notice these requests seems to be block other requests on the asyncio server. How does grpc.aio.UnaryUnaryCall work

Re: [grpc-io] grpc vs rest benchmark

2023-02-16 Thread 'Terry Wilson' via grpc.io
In case you are not already aware of them, you might be interested in the benchmarks the gRPC team maintains: https://grpc.io/docs/guides/benchmarking/ You will find a link there to a dashboard with performance history as well as to the repo

Re: [grpc-io] grpc vs rest benchmark

2023-02-16 Thread shobhit agarwal
Thanks for replying, I am using the code from below article: https://www.techgeeknext.com/spring-boot/spring-boot-grpc-example#google_vignette It's spring boot application. Even for single request grpc is response time is 100 ms and REST is taking 12 ms only. On Thursday, 16 February 2023

Re: [grpc-io] grpc vs rest benchmark

2023-02-16 Thread Gordan Krešić
On 16. 02. 2023. 14:38, Gordan Krešić wrote: I did similar test about a month ago, check the thread "gRPC performance (Java)": https://groups.google.com/g/grpc-io/c/4-bfxJDc7_s Over there you even have a link to a repo with sample projects I used to test. Forgot to mention: check repo from

[grpc-io] grpc vs rest benchmark

2023-02-16 Thread shobhit agarwal
I have written sample program to test perfromance of rest vs grpc, but in my test rest is faster than grpc. load test 10k request with 100 req parallel, sample request and response is as below Req: { "emp_id": "34" } Resp: { "emp_id": "34", "name": "abc", "role": "USER" }