Introduction
Firestore is a database that stores your app's data in the cloud. If you don't plan how you store and access data, your app can become slow or expensive to run.
When your app needs to quickly show data to users without delays
When you want to avoid high costs from too many database reads or writes
When your app will have many users accessing data at the same time
When you want to keep your app responsive even as data grows
When you need to design your data to avoid slow queries or limits