I am currently working with MongoDriver and, according to the docs, only the MongoClient needs to be a singleton.
That makes sense. However, while researching, I came across some old posts here on SO. The accepted answer (it is 6 years old) here suggests that not only can MongoServer be a singleton but so can the MongoDatabase and the MongoCollection. This, however, is countered by a more recent post (2 years ago) for the Java MongoDriver which suggests only the MongoClient should be a singleton as the other connections can get stale.
My initial thoughts side with the more recent post I linked, that the MongoClient should be the only thing that is a singleton, but considering the conflicting opinions I just wanted to be sure.
Thanks.