Fastest way to insertMany through mongo-stitch

10 views
Skip to first unread message

taptransce...@gmail.com

unread,
May 16, 2018, 3:59:32 PM5/16/18
to mongodb-user
Hi,

I am writing an AWS lambda function that might need to insert many documents via my mongo-stitch app on mongo Atlas. I am doing some tests, and I cannot seem to cross 1000 inserts even with insertMany(). The test I am trying is to insert 1M+ documents.

Is there a better way to insert documents? It seems Bulk.insert does not work through mongo-stitch, and insertMany() does not seem to make a difference using unordered = false.




Reply all
Reply to author
Forward
0 new messages