Hi Snehal. As the PyMongo docs say, "The client opens sockets on demand to support the number of concurrent MongoDB operations your application requires. The size of each connection pool is capped at maxPoolSize, which defaults to 100." Your application will open, at the most, as many sockets to MongoDB as there are concurrent threads processing requests in Flask. But in reality you'll open far fewer MongoDB connections than that if all your MongoDB operations are quick.