Where is the problem with writing speed on MongoDB on Droplet. ( only 12 document per second )

Posted May 17, 2017 1.6k views
MongoDBDigitalOceanUbuntu 16.04

I use 2 approaches to connect to MongoDB server on Droplet from my computer. ( via SSH tunneling and vie URL). I check and see CPU ( of the Droplet ) utilizes only 6%, Top Disk IO is 0.3M/s. I achieved very low writing speed to Droplet, 12000 documents in 936 second, around 12 documents per second.
My document is very short: just one term ( 1 word or 2 words ) and one explanation ( usually 1 short sentence).
Where should be the problem ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


I could suggest starting with some MongoDB optimizations.

What you could do is follow the steps from the official MongoDB documentation on how to optimize the write operation performance: