adding those indexes changed EVERYTHING. I didn’t grab the specs but what took an hour before is now taking about 5-10 minutes or so
1 Like
Cool, let me know how it goes as you find out.
I’m curious if the bulkWrite operation helps out, and eliminating the find() query, but letting mongo handle that with updateOne/upsert logic