What's the Difference Between Cloud Firestore & Firebase Realtime Database? #AskFirebase

preview_player
Показать описание
On this episode of #AskFirebase, Jen & Todd answer even more questions about Cloud Firestore from users like you! Do you want to ask our expert Firebase Engineers your Firebase questions? Then don’t forget to use #AskFirebase 👍

0:24 “Are auto generated keys in Cloud Firestore based on timestamp, like it is in the realtime database? If not, how can I query document data ordered by document key?”
2:22 “Can I do text searching or Like queries with Cloud Firestore?”
4:01 “Why did you make a new database instead of updating the old realtime database?”

Рекомендации по теме
Комментарии
Автор

Here are the differences (from the linked article)

1. Realtime Database (RDB) allows 100k max concurrent connections, while Cloud Firestore (CF) allows 1M, per database
2. RTDB does not allow easy queries across multiple fields while CF does allow it without you having to create sperate join fields
3. There is no compromise on speed in CF. CF can store bigger data but will return results in the same time (size of DB does not matter - query is always optimized)
4. CF is much easier to scale if your App becomes popular
5. You can fetch an individual node or point in CF, thus no need to fetch unwanted data.
6. RTDB is much more natural for chat applications. While CF allows one-time fetch and you can add listeners, but that functionality is not 'natural' for real-time database applications.
7. CF store data across multiple regions, if one server goes down, data is server from another server without loss of data. RTDB only stores data in the US, and does not support other regions.
8. CF has slightly high uptime and availability than RTDB.
9. They have different pricing models. Data for RTDB and No of request for CF

HammadKhanYT
Автор

This video sure does explain the differences...

JeffreyP
Автор

OK, I know this might sound pretty weird, but Firebase is the reason why I'm so eager to continue developing Android apps. I'm relatively new to the scene, been doing it for the past few months. And although I'm not at the level of calling myself the "real" Android app developer, Firebase has such an amazing documentation that makes you want to implement it in your app and try out different things. It's amazing just how complex this thing is, especially for someone like myself who's fairly inexperienced, but if I'm capable of navigating through the documents and *actually making progress*, then anyone can.
Good job to the team for making this awesome product. If I'll ever publish an app, it will probably have at least some Firebase compontent in it! Awesome work, you've got yourself a fan here!

siom
Автор

Wow, there is so much good content explaining Firestore

codinginflow
Автор

The best title for the video, it certainly explains the difference between the two ... for 2 seconds 5:07 to 5:08

datasciencetoday
Автор

Wow. A video TITLED "What's the Difference Between Cloud Firestore & Firebase Realtime Database?" does "answer" that question by saying: yeah, go read a blog post about it. Great job guys! /s

KommissarBoelles
Автор

Hi Firebase, Can you tell me when there will be a button for backing up the data from the firestore ( like in the realtime database)?

#AskFirebase

hartnil
Автор

man id love to work with Todd, he seems like an awesome person!

nate
Автор

So Firestore is a document database which does not support full text search. Realtime database is json based shared structure?

LydellAaron
Автор

#AskFirebase When will Firestore come out of beta?

MetsuryuVids
Автор

#AskFirebase

1. do you have a planned release date of Firestore stable version to be used in production environment?

2. is it possible to fix a warm up time problem for Cloud Functions?

3. I am using Blaze plan with some Cloud Functions, do I have to pay for Google Cloud Playform too?

I have been switching from Realtime Db to Firestore for a while, and waiting for stable release to have my app released too!

gpsk
Автор

Can you make a tutorial on elastic search integration?

Taalaibek
Автор

Can you tell me how login first from Google OAuth in a website and then log out? Then log in from facebook, I got the same account in both OAuth login. Why? How to manage this in firebase web?

learn_now_dot_sh_
Автор

But why is there a simple "storage" with much lower pricing? Whats the different here to firestore or realtime database?

erikpolygon
Автор

could you do a firecast how one would integrate a hosted firebase app with stripe (maybe even chargebee)?

markusgattol
Автор

If I write to cloud firestore the same data that is already in the same place does that count as a write? So if I update one of my documents with same data that is already inside of that document so no change is being made to cloud firestore document does that still count as a write to database?

franmaric
Автор

can i limit the number of requests per user in cloud firestore? (daily limit)

devillspdr
Автор

Great video!! Thanks for the links, they will help a lot.

fgscaglioni
Автор

WHERES THE ANSWER TO THE QUESTION IN THE TITLE THO

MrWhoever
Автор

#AskFirebase I want to use Firestore in my new Unity3D project. When firestore will be available for Unity3D. Is it good idea to start with firebase realtime database and then migrate to firestore when it releases. How much efforts it will add ?

spyro