For a constantly growing document, I have the choice of using either update() or findAndModify() to insert new elements in an array field. However, findAndModify() will generate cleaner code in my specific application. But I can achieve the same functionality using update(), just more messy.
I'm just wondering how much is the performance gain by using update() instead of findAndModify(). Thanks a lot!