Firebase launched one of the biggest Firebase features on October 3: Cloud Firestore. Firebase Cloud Firebase is a cloud-hosted, fully-managed NoSQL document database by Firebase. It’s designed for you to store your mobile and web applications’ data at global scale. Cloud Firestore is currently available in beta.
Very easy to setup
To be honest, technically there’s nothing you need to setup. Since Cloud Firestore is a cloud-hosted No-SQL database, everything will be handled by Google. There’s nothing to worry about scalability, Cloud Firestore is always ready to handle the toughest database workloads from the world’s biggest apps. You can create your first Cloud Firestore in the Firebase Console just a few clicks.
Use it everywhere
Like other Firebase products, Cloud Firestore is built for you to use it everywhere. It works on Web, Android, iOS and the SDKs also support Java, Go, Python and Node.js with more languages coming in the future. You also can use Cloud Firestore using their REST and RPC APIs too.
Faster and better query
Sorting and filtering data on Realtime Database wasn’t a great idea, it was actually quite slow and expensive if you compared with other databases.
But with Cloud Firestore, this will not be a problem anymore. No matter how big or how small is your database, you will still get the same performance when you doing querying.
Queries scale with the size of your result set, not the size of your data set, so you’ll get the same performance fetching 1 result from a set of 100, or 100,000,000.
Firebase Realtime Database actually supports offline too, but it only works on Android and iOS. There are some methods for developer to bring offline support for Realtime Database to web (for example: IndexedDB, etc).
But if you are using Cloud Firestore, it has offline support for Web, Android and iOS. Means the app still can read, write, listen to and query data even if the device is offline and it will synchronize the local changes back to Firebase once the device is online.
(For web developer) this is very useful if you are building Progressive Web Apps and you want your web application supports full offline capability.
If your current project is already using Cloud Datastore, then you can’t enable Cloud Firestore for that project. The only workaround is to create 2 separate Cloud Platform projects in order to use both Cloud Datastore and Cloud Firestore.
Also, Cloud Firestore is currently still in beta so the stability is not always the same as the fully launched stable product. But once it’s out of beta, it will be way better than Realtime Database!
Learn more about Cloud Firestore here: firebase.google.com/docs/firestore/