We are currently storing performance and search stats from our app with a free MongoDB
sandbox on MongoLab
. They recently had an outage which in turn affected our app (there is no replica set on the free sandbox).
Is there anyway to check the status of a MongoDB
connection quickly (without having to waiting for a timeout as this takes too long) before trying to insert or update any data?