Let's imagine a usual blog engine (just for example). The model would consist of Posts collection with embedded Comments "collection".
Now, I need to get only 10 recent comments along with my Post data.
- What's the best way of doing this?
- Is this a valuable optimization? (apart from reducing network traffic)
P.S. I use official C# driver + fluent-mongo but I can give up linq for a good cause.