I’m hoping to get some ideas for my project from chapter4: ‘Operational Intelligence’, Chapter6: ‘CMSs’ & Chapter 8: ‘Social Networking’.
By page 12 I had learned a new word ARITY: the number of arguments that a function can take.
The chapter concludes stating “Schema design in MongoDB tends to be more of an art than science.
The two largest benefits to embedding subdocs are data locality within a document and the ability of MongoDB to make atomic updates to a document.
Weighing against these benefits is a reduction in flexibility as you have pre-joined your documents, as well as potential for problems if you have a high-arity relationship