Add to documentation: Create MongoClient once for each process and reuse it

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A lot of new users create multiple MongoClient instances as they don't realise it can be reused. 

      Let's add a note on the following pages to highlight that MongoClient connections can be reused. In the note, also link the FAQ on connection pooling for those user who wants to read more about it. 

      1. https://pymongo.readthedocs.io/en/stable/tutorial.html 
      2. https://pymongo.readthedocs.io/en/stable/api/pymongo/mongo_client.html?highlight=mongoclient

       

              Assignee:
              Unassigned
              Reporter:
              Shubham Ranjan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: