Hellol

I'm using python and locust to load test grpc endpoints. I also need to 
hold stream connection in addition to unary grpc calls. 

So, as I see in the current implementation, it was made in
https://github.com/grpc/grpc/pull/28863

And there is the comment code:
https://github.com/grpc/grpc/blob/38b2f6d493ffe28e68b880efd762b188731d062c/bazel/_gevent_test_main.py#L21

```
# Currently, each channel corresponds to a single native thread in the
# gevent threadpool. Thus, when the unit test suite spins up hundreds of
# channels concurrently, some will be starved out, causing the test to
# increase in duration. We increase the max size here so this does not
# happen.
```

I need to increase threadpool.maxsize variable to thousands in order to 
make it possible to hold stream connection by thousands users. User ~ 
threads count.

Is it possible to make that one native thread will process many channels at 
once?


-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/601c3d1e-d3e2-443a-889a-2c5f5c5350f5n%40googlegroups.com.

Reply via email to