gRPC Python thread_pool vs max_concurrent_rpcs
问题 When launching a Python grpc.server , what's the difference between maximum_concurrent_rpcs and the max_workers used in the thread pool. If I want maximum_concurrent_rpcs=1 , should I still provide more than one thread to the thread pool? In other words, should I match maximum_concurrent_rpcs to my max_workers , or should I provide more workers than max concurrent RPCs? server = grpc.server( thread_pool=futures.ThreadPoolExecutor(max_workers=1), maximum_concurrent_rpcs=1, ) 回答1: If your