YUNOVA · Firebase · Module 12: Scaling and cost
Firestore data modelling for scale
Firestore data modelling for scale
Key points
- Model data around the queries your screens need.
- Duplicating some data is normal in Firestore to avoid extra reads.
- Use subcollections for large lists instead of growing one document.