Skip to content Skip to sidebar Skip to footer

Cloudant Python Https Connection Pooling?

I've been doing some testing of https connection pooling from cloudant python requests as part of gunicorn request handling: # -*- coding: utf-8 - from requests.adapters import H

Solution 1:

Requests uses urllib3 for its connection pooling, which is threadsafe. So as long as you don't call any methods on account which change its state (or only do so before you start making requests) you should be fine.


Post a Comment for "Cloudant Python Https Connection Pooling?"