This is the example code for my MongoDb performance tuning for write