I am using MongoDB for keeping log data. And my goal is zero dropped log record. Now I am using InsertManyAsync
for writing multiple log data. But in MongoDB there is also method like BulkWriteAsync
.
What is the difference in performance between InsertMany
and BulkWrite
? In local writing and writing over network?