Reputation: 15
I am using ThreadPoolExecutor from concurrent.futures to run multiple HTTP requests concurrently. I’m wondering if the number of threads specified in max_workers affects the optimal number of connection pools in urllib3.PoolManager. Specifically, should the number of connection pools ideally be greater than the number of threads to optimize request caching?
Upvotes: 0
Views: 28