I am trying to understand between using connection pooling vs using singleton connection for connecting to mongodb.
Which one is the better approach? What is difference in caching the connections in connection pooling vs instantiating a class once in singleton and using same elsewhere?