title: Writing data to remote mongodb database
body: <p>I am reading a CSV file line by line and upserting data to mongodb database. It takes 2 mins approx. to read, process and write data to mongodb from all files, when db and the files are on same machine. Whereas when the db is located on another machine in my network, it takes around 5 mins.  It is taking even more time on remote machine. can anyone please help me out to reduce time ?. Thanks.</p>