Skip to content

Comment on MongoDB Gotchas and How To Avoid Themparent

Comments

Growing documents, padding. Selecting subset of fields, takes the whole document in ram, creates a new bson and transfers it back. The same for updating. Maybe read before updating for lock %.

ukd1OP

All valid - though I'm going to check the read-before update as I thought that was a non-issue in 2.2? I'll write them up but it might take a little time. Thanks!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.