Cloud Firestore Data Modeling (Google I/O'19)

  Рет қаралды 175,450

Firebase

Firebase

Күн бұрын

Пікірлер: 189
@the1yearexperiment
@the1yearexperiment 2 жыл бұрын
This talk is so good. He begins with the exact "emotional" state where probably many are in, not wanting to mess things up for the future but not yet having the most extensive experience in the scale-up side of things. Discussing approaches and questions like denormalization or storing data in larger documents vs. sub-collections from this point of view is super helpful and something mostly not found in documentation
@Firebase
@Firebase 2 жыл бұрын
Thank you so much for your kind message of support 🙂
@KristianDamian
@KristianDamian 3 жыл бұрын
The API analogy it's so clever, blow my mind and make me understand the NoSql idea immediately
@f4xxf4xx
@f4xxf4xx 5 жыл бұрын
This guy is the best teacher. Solid presentation
@tilakmadichettitheappdeveloper
@tilakmadichettitheappdeveloper 5 жыл бұрын
hell yeah dude ! This guy can also probably explain definite integration to 11yr olds
@anonymosranger4759
@anonymosranger4759 4 жыл бұрын
Agree!
@SusanthCom
@SusanthCom 3 жыл бұрын
True ❤️❤️❤️
@DodaGarcia
@DodaGarcia 3 жыл бұрын
He's so funny and explains really well
@marthasolis2281
@marthasolis2281 2 жыл бұрын
@@tilakmadichettitheappdeveloper no
@gbhall
@gbhall 5 жыл бұрын
This was the best IO talk I saw - you're an excellent presenter Todd!
@guillempuche
@guillempuche 5 жыл бұрын
Data modeling rules (according to the presentation): 1. Documents have limits (size, field indexes, operations at the same time…) 2. You can only fetch documents (not specific fields for each document) 3. Billing is mostly based on the number of documents you touch 4. Queries search for indexed fields across a collection
@valdineiferreira4814
@valdineiferreira4814 3 жыл бұрын
Data modeling rules (according to the presentation): 1. 16:05 Documents have limits (size, field indexes, operations at the same time…) 2. 18:29 You can only fetch documents (not specific fields for each document) 3. 20:44 Billing is mostly based on the number of documents you touch 4. 24:11 Queries search for indexed fields across a collection
@dugtrioramen
@dugtrioramen Жыл бұрын
I've been looking at so many tutorials and videos, and this is easily the best one. He directly answers several questions I might have as soon as news things are brought up, and I finally feel like I have a solid understanding of how I should go about this
@DodaGarcia
@DodaGarcia 2 жыл бұрын
Todd is so fun to watch! He joked about it in the talk but he really *does* make a talk about database structures sound exciting.
@excitingfruit
@excitingfruit 2 жыл бұрын
As a developer with a SQL background now developing my first app with Firestore and NoSQL this was the exact talk I needed to watch. It's all clicking now.
@adarsh_hatwar
@adarsh_hatwar 5 жыл бұрын
Building a product is one thing but providing support and taking it to the next level is a whole new story. Firestore lacks basic features like support for IN/OR queries, automated backups etc. But people like Todd make things very simple and that is such a life saver as information is organized and comes from a trusted source. Thanks Todd for making this possible :)
@soumitripattnaik
@soumitripattnaik 3 жыл бұрын
Videos like this tells me that, the best things in the world are free of cost.
@broken_arrow1813
@broken_arrow1813 4 жыл бұрын
Todd is great! I can listen to him present for a whole day. The audience doesn't look enthused though, even with GoT references!
@marcelvarela9058
@marcelvarela9058 3 жыл бұрын
This is a presentation that must be seen by every developer who want to use Firebase Cloud Firestore. It should be recommended by all tutorials and courses out there!
@Squad2ND
@Squad2ND 3 жыл бұрын
Zombies in the Resident Evil games are more alive than this crowd, however I can tell you guys that I laughed, learned and I'm psyched up while watching this. Awesome job!
@deville295
@deville295 5 жыл бұрын
I like that you explained the tradeoffs very clearly. It's a realtime db after all, and some basic features we expect don't work the way we think it they should. However, there should be guides that show us how to work around these basic features we can't have (reference, ORs, etc.)
@vaishankur
@vaishankur 5 жыл бұрын
Considering using firebase despite everyone advising against it, because of this guy Todd :)
@bunnihilator
@bunnihilator 4 жыл бұрын
Thanks, this is the 1st video everyone coming in to firebase should watch. Really a big thank you
@grzegorzgumieniak6460
@grzegorzgumieniak6460 4 жыл бұрын
I'm really surprised how comfy is listening Todd and learning new stuff. This is exactly how good teacher should look! 😃
@raymondmichael4987
@raymondmichael4987 5 жыл бұрын
"If didn't like this, my name is (not Todd) and I was talking about android.." 🤣🤣🤣🤣 That made me laugh loudly. Great presentation and I picked a lot, it's like developing an app from scratch to end in 40.5 minutes. Greetings from Tanzania 🇹🇿
@SamGerrans
@SamGerrans Жыл бұрын
It's great to watch someone who is this good at his job!
@postfixnotation9829
@postfixnotation9829 5 жыл бұрын
Todd is an extremely good speaker! All of his Firebase Firestore videos are amazing. Thx!
@2yaya123
@2yaya123 3 жыл бұрын
Amazing presentation! I feel like I really understand how Firebase data modeling works and the pros and cons of NoSQL databases after watching this video.
@Firebase
@Firebase 3 жыл бұрын
Great to hear!
@mohamedhussainsh7913
@mohamedhussainsh7913 3 жыл бұрын
very crisp talk and he touched most important use cases we may face when we implements firestore.
@donathmm3881
@donathmm3881 5 жыл бұрын
This guy knows what he's doing ! Keep going 🤘🤘
@JSANL
@JSANL 5 жыл бұрын
Collection Group Queries! Finally🙏
@glynvilesatago3441
@glynvilesatago3441 5 жыл бұрын
This guy really explains very well, cracks joke from time to time and the crowd just doesn't get it. :D :D :D
@iamsurajgiri
@iamsurajgiri 4 жыл бұрын
No, actually they get it. Its just the mic is centred to him
@404-HANDLE_NOT_FOUND
@404-HANDLE_NOT_FOUND 5 жыл бұрын
A very helpful introduction for us long in the tooth SQL based types! Thank you.
@kaibe5241
@kaibe5241 2 жыл бұрын
Todd was excellent. Helped me nerd out on Firestore :D
@anandakumarsanthinathan4740
@anandakumarsanthinathan4740 3 жыл бұрын
Fantastic. Brilliant presentation. Covered everything one may want to know.
@Firebase
@Firebase 3 жыл бұрын
Glad you enjoyed it!
@locusm
@locusm 4 жыл бұрын
For explaining complex concepts Todd is the G.O.A.T.
@AtomicCodeX
@AtomicCodeX 2 жыл бұрын
This guy made a really funny Game of Thrones joke, and everyone in the audience had a bloody straight face
@DeependraSolanky
@DeependraSolanky 5 жыл бұрын
Very good insights in such short time. Lot of things to unlearn for somebody coming from long experience in RDBMS world.
@tommytower47
@tommytower47 4 жыл бұрын
This was really good. The topic that was talked about last, was exactly the problem I was facing. Thank you for the solution!
@ImpactAICANADA
@ImpactAICANADA 5 жыл бұрын
Amazing presentation. I love how consumable this information is. This crowd isn't very lively!
@goat5249
@goat5249 4 жыл бұрын
Great presentation, Reto Meier! ⭐⭐⭐⭐⭐ for Android Studio
@Firebase
@Firebase 4 жыл бұрын
Glad you like it!
@kevinjacyna7323
@kevinjacyna7323 5 жыл бұрын
Thank you for the crystal clear presentation!
@Meknassih
@Meknassih 3 жыл бұрын
Exceptional content Todd, thanks a lot !
@Firebase
@Firebase 3 жыл бұрын
Glad you enjoyed it!
@verryondrums
@verryondrums 3 жыл бұрын
Awesome talk! One of my all time favorite presenters!
@dobleuxyz
@dobleuxyz 2 жыл бұрын
Amazing!
@Firebase
@Firebase 2 жыл бұрын
Thank you for the support, Gerardo!
@beside5915
@beside5915 5 жыл бұрын
This is my best lecture of the firestore
@moomoomamoo
@moomoomamoo 5 жыл бұрын
Collection group querying! Wooooo~~
@spicepirate
@spicepirate 5 жыл бұрын
Wooooo~
@82invisinle82
@82invisinle82 5 жыл бұрын
Great talk, tells a lot about the possible scenarios and how we may handle with them.
@Prime-o8f
@Prime-o8f 2 жыл бұрын
That George RR Martin joke didn't get the love it deserved
@401-Unauthorized-u5b
@401-Unauthorized-u5b Жыл бұрын
Thank you! This is awesome explanation!
@VINNUSAURUS
@VINNUSAURUS 5 жыл бұрын
You guys should really make a video on how to structure data for a social media app :P
@nfokl
@nfokl 5 жыл бұрын
Totally agree! Working on one now.
@jeet5401
@jeet5401 5 жыл бұрын
Firestore is not suitable for social media app, I guess.
@raymondmichael4987
@raymondmichael4987 5 жыл бұрын
Nikolai Fedorov, waiting to see it Greetings from Tanzania 🇹🇿
@lazymacs2823
@lazymacs2823 4 жыл бұрын
yeah
@LucasMDias
@LucasMDias 5 жыл бұрын
I do care about my fish's birthday.
@hunterheston
@hunterheston 5 жыл бұрын
@@ToddKerpelmanCorp how dare you, sir
@asafmazon7
@asafmazon7 4 жыл бұрын
But nobody does
@IAmSamuelCharpentier
@IAmSamuelCharpentier 4 жыл бұрын
I beleive it would be a hatchday
@leeboyin945
@leeboyin945 4 жыл бұрын
lol
@jkojkojkojk
@jkojkojkojk 4 жыл бұрын
It's been a year. I think he forgot his fish's birthday
@TheChaitanyaDubey
@TheChaitanyaDubey 4 жыл бұрын
Great presentation
@Firebase
@Firebase 4 жыл бұрын
Thank you!
@VitorLucasOFICIAL
@VitorLucasOFICIAL 3 жыл бұрын
Very good!! Thanks for the lesson Todd =D
@TheodoreRavindranath
@TheodoreRavindranath 3 ай бұрын
Awesome crash course on Firebase
@antopolskiy
@antopolskiy Жыл бұрын
Great talk and very helpful. Thank you
@AkshaySood1
@AkshaySood1 4 жыл бұрын
Nice job Ted! Thank you for being such an awesome presenter/teacher 👍
@estebanmtz4315
@estebanmtz4315 Жыл бұрын
Such a great presentation
@balajipadmanabhan4590
@balajipadmanabhan4590 4 жыл бұрын
Wonderful presentation . Hats Off .
@かやひこ
@かやひこ 5 жыл бұрын
finally collection group queries 🔥🔥🔥
@saminsharar3933
@saminsharar3933 5 жыл бұрын
We know we are nerds when we use 🔥🔥🔥 with collection group queries
@marinesuper6441
@marinesuper6441 2 жыл бұрын
Best video to introduce firestore to us. Anyone has summary documents which recaps this content?
@Firebase
@Firebase 2 жыл бұрын
We're excited to hear you've enjoyed the video! You can head over to firebase.blog/posts/2022/05/whats-new-at-google-io for a summary of what's new at I/O! You can also continue to grow your skills by visiting our learning lab over at ✨ io.google/2022/learning/ ✨😄
@sunjin222
@sunjin222 Жыл бұрын
Loved it just what i needed to get started
@manupandher39
@manupandher39 5 жыл бұрын
its good to know that i am using firebase in correct manner 😎
@lukecole5056
@lukecole5056 2 жыл бұрын
Who would've thought Robin Williams would be the best tech presenter and teacher ever?
@fabrizziocht
@fabrizziocht 4 жыл бұрын
Fantastic explanation, thank you very much for share your knowledge
@ValAllenSamonte
@ValAllenSamonte 5 жыл бұрын
this is very helpful, thanks Todd!
@darshans1190
@darshans1190 4 жыл бұрын
such a nice presentation. got to learn a lot of things !!
@paracha3
@paracha3 5 жыл бұрын
Very nice session. Very comprehensive
@RamdanCode
@RamdanCode 3 жыл бұрын
Amazing.. thanks From 2021 :D
@MaximilianBeck
@MaximilianBeck 5 жыл бұрын
Great presentation and nice feature reveal 😀
@arthurcebrian
@arthurcebrian 4 жыл бұрын
Best teacher ever!
@andrewerdle
@andrewerdle 5 жыл бұрын
This really helped. Thank Todd.
@praveenaanand6389
@praveenaanand6389 5 жыл бұрын
Hey firebase It's firestore not firestone . See the thumbnail. Anyway i love you firebase 💗
@lvenir4702
@lvenir4702 3 жыл бұрын
This s**t is 10 out of 10. Great work.
@vijayhi3ic
@vijayhi3ic 3 жыл бұрын
ONE CHICKEN TIKKA MASAAAAAAALA FOR THIS GUY RIGHT NOW!
@himbary
@himbary 4 жыл бұрын
Excellent talk
@preetgandhi1233
@preetgandhi1233 4 жыл бұрын
Very Great Explanation
@GintsPolis
@GintsPolis 4 жыл бұрын
Also it is worth to mention, that if Author changes name, all printed books remain his old name :)
@LarsRyeJeppesen
@LarsRyeJeppesen 4 жыл бұрын
A backend would help filtering privat fields so the client only gets the fields that are *public" for a given document. Also, a backend could leverage Redis caching to minimize cost. So backend + Firestore is the best of both worlds imho
@ivammagalhaes7155
@ivammagalhaes7155 5 жыл бұрын
Great! Thanks for sharing, Todd. :clap :clap
@troybailey175
@troybailey175 5 жыл бұрын
Extremely helpful, thank you!
@codewithtae6637
@codewithtae6637 Жыл бұрын
Is the 1 mb size rule for documents the reason you need to use cloud storage for images and the sort?
@tareqalbeesh9149
@tareqalbeesh9149 3 жыл бұрын
great video!
@arvidurs
@arvidurs 5 жыл бұрын
Is there a timeframe for native location queries a la GeoFire?
@thejohnfranco
@thejohnfranco 5 жыл бұрын
All my questions has fixed
@bakerkawesa
@bakerkawesa 5 жыл бұрын
Awesome lecture!
@GeireenG
@GeireenG 3 жыл бұрын
If you didn't like it I talked about Android Studio :D I didn't expect this to be that great!
@diegocuevac
@diegocuevac 5 жыл бұрын
Great explanation!
@makemypetgamedevprocess6475
@makemypetgamedevprocess6475 3 жыл бұрын
Love this guy
@WendelSchultz
@WendelSchultz 5 жыл бұрын
It was nice to see that what I sort of intuited was confirmed by the Googs here. I'm still a bit unsure how to model organization/team permissions around documents and collections, as well as organization invitations. Using his example, my restaurant has 3 people with sufficient permissions with respect to the restaurant to update the restaurant document. I suspect some sort of restaurant "admin" array with user IDs or something (possibly in an admin collection for permissions reasons), where the write permission evaluates request.user.uid is in the admins array or something. So then doing admin invitations becomes work of could functions, upon login, matching login email/phone principal against invited emails/phones to snag uid. I think. I'm trying to find my legs here.
@LarsRyeJeppesen
@LarsRyeJeppesen 4 жыл бұрын
I think using a backend doing your requests would help in your case.
@abdifatahnour8839
@abdifatahnour8839 3 жыл бұрын
Excuse me i wanna ask you a question. Can firebase services daily usage be upgraded Just like free plan 20k reads to 1m reads per day
@stofstik
@stofstik 4 жыл бұрын
This presentation was you know, sort of, kind of, like, nice, right ; ) JK, thanks for the presentation!
@icoffeenz
@icoffeenz 4 жыл бұрын
amazing video
@susmitvengurlekar
@susmitvengurlekar 5 жыл бұрын
Why not use reference for orders? Each part of order points to relevant docs other collection for example restaurant info
@LarsRyeJeppesen
@LarsRyeJeppesen 4 жыл бұрын
Imho you want the order data to be a snapshot of how data looked at order time. No referencing.
@susmitvengurlekar
@susmitvengurlekar 4 жыл бұрын
@@LarsRyeJeppesen ohk! Realised just now . The details such as quantity, price, and other things can change. Thanks
@LarsRyeJeppesen
@LarsRyeJeppesen 4 жыл бұрын
@@susmitvengurlekar You're welcome ;)
@UjjwalKumar-wg4wu
@UjjwalKumar-wg4wu 5 жыл бұрын
awesome stuff
@francoisguezengar6255
@francoisguezengar6255 5 жыл бұрын
You might think about changing the typo "firestoNe" in the cover of the video. It would be a cool name for a next service on firesbase though ;).
@eduardorabanal2803
@eduardorabanal2803 5 жыл бұрын
great video
@asafmazon7
@asafmazon7 4 жыл бұрын
Love it! great talk
@glauberdesouzasilva930
@glauberdesouzasilva930 5 жыл бұрын
I would like to know how many reads that are executed inside a document that contains other collections. It's possible?
@belqisshida5345
@belqisshida5345 4 жыл бұрын
Is Cloud Firestore a good selection for a bank account? Can it be safe and reliable to save people's money which is a number to the Cloud Firestore? My concern is reliability and security. Any suggestions?
@FarryEntertainment
@FarryEntertainment 4 жыл бұрын
How do you make a chat system with Firebase then?
@mohammedmaaz1765
@mohammedmaaz1765 5 жыл бұрын
For the case of finding restaurants with a certain dish like "Chicken Tikka Masala", he proposed that due to this new feature of "collection-group query" we can now solve this problem if the menu-items are placed in the restaurant docs as sub-collections instead of a map. However it does not make sense to me, because the collection-group query for example: collection_group("menu_items").where("name", "==", "Chicken Tikka Masala") will only return the documents of "menu_items" but not the actual "restaurants" which have that menu item. However in case where I have a map of menu items inside of restaurant doc, I can actually query on the restaurant sub-collection to get actual restaurant docs containing that menu item. Can anyone clear me point, If I am missing something?
@n0krashy
@n0krashy 4 жыл бұрын
@@ToddKerpelmanCorp So if I want to query the restaurants documents which contain a certain dish in their menu-items subcolllection, not the dishes documents at all, I have to copy restuarant data (which are more than just the name in my case) all over my items in the subcolllection? Isn't that an overload ? Shouldn't that be improved so I can somehow get the parent documents only ? Also presenting the problem of, when any field in the parent is updated, I have to also repeat that update in all of it's subcolllection items (which is the most annoying problem I'm trying to avoid in NoSQL database scheme for many-to-many relationship)
@n0krashy
@n0krashy 4 жыл бұрын
@@ToddKerpelmanCorp also, why can't I perform collection group query by document ID instead of fields ? That's something that should exist
@mannie-live
@mannie-live 4 жыл бұрын
If there are more restaurants with the same name and one of them changes its name how will this work? As far as I understand there is no way to select by combining fields like Name = xxx and address = XXX.
@lukecross5439
@lukecross5439 5 жыл бұрын
Why was so are null the class? I think that have a many of people, but, have less.
@kaibe5241
@kaibe5241 2 жыл бұрын
NoSQL stores should use write-time relationships like graph databases, so that you can in fact, do join-like queries in one call, super fast.
@acche-rc
@acche-rc 5 жыл бұрын
Skip to 26:34 for the new collection group queries
@princesimfukwe9158
@princesimfukwe9158 6 ай бұрын
When are you guys inviting
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Google I/O 2012 - Go Concurrency Patterns
51:27
Google for Developers
Рет қаралды 827 М.
What's New in Firebase (Google I/O'19)
39:04
Firebase
Рет қаралды 37 М.
5 uses for Cloud Functions | Get to know Cloud Firestore #12
19:47
Data Modeling with MongoDB
34:56
MongoDB
Рет қаралды 113 М.
NoSQL in real-life projects
13:26
Google Cloud Tech
Рет қаралды 6 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 44 МЛН
How do Cloud Functions work? | Get to know Cloud Firestore #11
18:21
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН