Python connection pymongo

PyMongo uses a connection pool, opening connections as needed and reusing them:

https://pymongo.readthedocs.io/en/stable/faq.html#how-does-connection-pooling-work-in-pymongo

2 Likes