I'm using python and locust to load test grpc endpoints. I also need to hold stream connection in addition to unary grpc calls. https://github.com/grpc/grpc/pull/28863
So, as I see in the current implementation, it was made in
# 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
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?