To Realtime or Not? | Get to know Cloud Firestore #10

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 81

  • @BreakingBarriers2DIY
    @BreakingBarriers2DIY 3 года назад +18

    Every time I see this gentleman on a video thumbnail...I know I'm in for an enlightening experience full of understanding of the problems and worries that I have.

  • @AnimateLogo
    @AnimateLogo 5 лет назад +38

    The Reddit example for one-time fetch call was spot on. I kept trying to find a use case for it the entire video. Thanks, Todd!

    • @Mambo56783
      @Mambo56783 5 лет назад +8

      On the other hand. Now I would like to see Reddit in real time.... at least to see how irritating it is. But having some sense of how much is currently going on in real time would be interesting.

    • @Kevin-yw5qr
      @Kevin-yw5qr 4 года назад +2

      @@Mambo56783 you can now, and its just as annoying as you guessed.

    • @willroberts1891
      @willroberts1891 Год назад

      😮

  • @toastrecon
    @toastrecon 5 лет назад +77

    These videos are invaluable. Thank you for producing such clear content!

  • @Apoka03
    @Apoka03 5 лет назад +6

    Woah dude I had totally stopped using real-time because I had freaked out when I saw many documents get returned every time a single one of them had changed. This sure clarifies things lol.

  • @NGC7603
    @NGC7603 4 года назад +4

    The most clear and informative video I've seen in a long time, please keep making these!

  • @flonmackenzie2876
    @flonmackenzie2876 5 лет назад +6

    Any more of these videos by Todd coming out? They are great. Keep em coming.

  • @codinginflow
    @codinginflow 5 лет назад +19

    That was very enlightening, thank you

  • @DheerajRijhwani
    @DheerajRijhwani 5 лет назад +23

    Need more videos on 🔥 ☁️ firestore database structure and querying.

  • @justdavebz
    @justdavebz 5 лет назад +14

    great high-level explanation

  • @immortaleternal5125
    @immortaleternal5125 5 лет назад +1

    I'm in, i am loving it and all that... but i often find myself unable to convince my employer to use firebase because i fail to answer all their "What if?s", which are mostly related to server cost and what happens when exceeding the free plan's limits.

  • @JonatanWitoszekk
    @JonatanWitoszekk 5 лет назад +3

    Awesome video! Made me completely rethink caching solution used in my app.

  • @DKPstudios
    @DKPstudios 5 лет назад +2

    Will Firebase ever support indexing and query or will we always have to use a third-party integration to create a search feature in our apps. It's easy enough to break a title of a book or something in an array and perform a query on that, but searching for a specific word in a description is expensive because you either have to break the description up into an array, or use one of these third parties.

  • @egopak
    @egopak 4 года назад

    I had to come back to this video a couple of times to finally make up my mind about Realtime vs. Not

  • @orange_machine264
    @orange_machine264 5 лет назад +4

    This was a great video! Very helpful. Also, I need to buy one of those shirts

  • @ectoid6316
    @ectoid6316 5 лет назад +1

    Any idea if there is support for Go, there were a few samples that I found, which seemed to be still in development. However the website says // Snippet coming soon.
    Any info on the matter ?

  • @8Kexperience
    @8Kexperience 4 года назад +1

    Awesome explanation! Quick question: realtime make sense when multiple clients working on same data, realtime is keeping everything synced. What about single device, when I call set or update on same client/browser tab I get the update too. Is it costing me extra read.

    • @flechs-software
      @flechs-software 4 года назад

      Find an answer on this?

    • @8Kexperience
      @8Kexperience 4 года назад +1

      @@flechs-software nope

    • @flechs-software
      @flechs-software 4 года назад +1

      @@8Kexperience FWIW: I found a relevant SO question here: stackoverflow.com/questions/55919435/do-local-writes-to-firebase-rtdb-or-firestore-with-attached-listeners-cost-a-rea But I don't think the answer is correct :/

    • @8Kexperience
      @8Kexperience 4 года назад

      @@flechs-software :'(

  • @_dinesh
    @_dinesh 2 года назад

    Thank you for the explanation. The question is.... Under the hood does firestore use websockets to push the data to the client? Or is it GRPC.. The term listener seems pretty generic.

  • @video.jomichaelis
    @video.jomichaelis 5 лет назад +5

    This was very understandable! Thanks👍🏼

  • @AmitJayant
    @AmitJayant 4 года назад

    Very informative video. Thanks.
    Btw... where can i get that t-shirt?

  • @inaglimpse
    @inaglimpse 4 года назад

    Thanks for the great content.
    A question: does realtime listeners will be triggered on changes to subcollections? I have an issue but don't know why my listener is not triggered.

  • @rupayanc
    @rupayanc 4 года назад +1

    hi ... is there any king of logger which i can use to monitor the no of reads and writes in firestore?

  • @taufeekahmadkhan3953
    @taufeekahmadkhan3953 8 месяцев назад

    Does this liveSync works on same thread or different thread?

  • @SociedadAndroide
    @SociedadAndroide 5 лет назад +2

    Awesome video Todd

  • @SteveKovacs
    @SteveKovacs 9 месяцев назад

    This seems perfect for my use case until he brought up pagination/infinite scroll example. Can someone explain why that would make a difference? Or direct me to the explanation of that? Thanks ahead of time.

  • @magnet1te
    @magnet1te 5 лет назад

    Fantastic video series!!! Now I want to do realtime in Flutter but I have a problem...
    Flutter Firestore plugin has no 'onSnapshots'. It has a 'snapshot' and a 'listener'.
    'Snapshot' does not seem to start the listener.
    And theFlutter widget StreamBuilder seems to manage listening, turning it on and off.
    Have I misunderstood it all or is it a simple workaround?

  • @tockra95
    @tockra95 2 года назад

    How high is the traffic if there is no update in the collection? Does a onSnapshot generates traffic throw ping and some other internal reasons?

  • @guasaentertainment9694
    @guasaentertainment9694 3 года назад

    But if I need to make a call in real time within another. For example, I want the comments to be heard when new Posts are added and in turn I want the comments of each post to be heard in real time. Thanks

  • @Jason-ul9tq
    @Jason-ul9tq 5 лет назад +10

    Automagically does sound impressive! 9:12

    • @kpertsev
      @kpertsev 5 лет назад

      en.m.wikipedia.org/wiki/Jargon_File

  • @rckahale
    @rckahale 3 года назад

    I love how i get to understand concepts & laugh at the same time.

  • @Kubaguette
    @Kubaguette 3 года назад

    I love this guy, I love firebase, I would like to hug him sooo much and thank the team behind firebase haha :)

  • @ProfessionalTycoons
    @ProfessionalTycoons 3 года назад

    such a good series of video

  • @tilakmadichettitheappdeveloper
    @tilakmadichettitheappdeveloper 4 года назад +4

    9:12 it happens "automagically"

  • @EnglishTurkishExpert
    @EnglishTurkishExpert 3 года назад

    Any example (in java) to use addSnapshotListener with LiveData?
    I am trying to observe when and if data changes in FireStore database and failing miserably.
    There is almost no examples on the net.
    I found a few but they are in Kotlin, which I have no idea how to convert them into Java code.

  • @bazoozoo1186
    @bazoozoo1186 5 лет назад +1

    what is name of this guy?
    I want to search and watch all his videos.
    there is no name even at the description :(

  • @baixartv
    @baixartv 4 года назад

    Another level of explanation. Thanks!

  • @duanehodges3146
    @duanehodges3146 4 года назад

    How do I only get new documents from firebase using .onSnapshot when used with .limitToLast for pagination
    I'm trying to implement a chat app with infinite scroll using Firebase. The problem is that if I don't empty my messages array when a new message is added then they're duplicated. If I empty the messages array then it doesn't keep the previous messages.

  • @kevinliu6002
    @kevinliu6002 5 лет назад +3

    Robin Williams, Software Engineer at Google. He's back!!!!!!

  • @basketballico508
    @basketballico508 5 лет назад +2

    Hi, if I write data offline, this update the cached data and then sync with server, but when is offline the user can write data that break the security rules and the cached data is wrong 😞, when is online the new sync remove this wrong data, but I don't like this :(, I want to show also a permission denied error when is offline

    • @AnimateLogo
      @AnimateLogo 5 лет назад

      Todd explained a similar scenario in another video. Look it up.

    • @DenisTRUFFAUT
      @DenisTRUFFAUT 5 лет назад

      Good point. Validating some rules offline could be possible with a strong CSP (ensuring no JS alteration on client side), but to really evaluate rules you would have to download the rules validator (I mean, js files are already super fat, nearly 1 Mb). Plus, you still won't be able to validate rules that make database reads ('cause you are offline)

  • @intentionalvideos456
    @intentionalvideos456 4 года назад

    Hi Guys, This one time fetch means normal http calls we will be making right the real time means calls through cloud class , Am i correct ?

  • @shubhamsharma0099
    @shubhamsharma0099 4 года назад

    pls tell me that how to update OR send player vectors (movements) to my real time database in firebase asa i'm trying to make a simple multiplayer game using firebase RTDB and also how top get that movement value back to show other players in realtime? pls help there i no such tutorial for this

  • @godrugal1
    @godrugal1 5 лет назад

    in android for example, if I have a real-time listener in an activity A, and if I went to activity B then I went back to activity A. will Activity A read all the data again or will it read all data from cache and only get updates from the updated documents? from what I know is that it will read all data again is that right?

    • @ranjeetkumaryadav3978
      @ranjeetkumaryadav3978 3 года назад

      ​@@ToddKerpelmanCorp Can you explain "ton of time elapsed"? If user navigates 10 times between going from A to B to A in span of two mins,then how many times it will get the all data gain from server.

  • @jesselima_dev
    @jesselima_dev 5 лет назад +2

    I love these videos. Very technical and fun. :D

  • @laudijksterhuis
    @laudijksterhuis 2 года назад

    Automagically... love it 😂

  • @ginger-viking
    @ginger-viking 4 года назад

    I love these videos

  • @manjunathpatil2489
    @manjunathpatil2489 3 года назад

    Tq u sir u saved my week

  • @lidory98
    @lidory98 3 года назад

    Anyone knows this guy name by any chance?

  • @lokisingh9944
    @lokisingh9944 7 месяцев назад

    he's really good

  • @yeilmusic
    @yeilmusic 4 года назад

    so i need remove listener for avoid 30 minuts offline .. :/ ?¿?¿

  • @sushantchandla
    @sushantchandla 4 года назад

    Thanks ... 😄😄😄😄

  • @aminelouni
    @aminelouni 3 года назад +1

    *The one million dollar question :*
    How to paginate in real time

  • @lukecross5439
    @lukecross5439 4 года назад

    Firestore is better than Realtime Database in everything?

  • @matthiasgehrmann1573
    @matthiasgehrmann1573 5 лет назад +1

    thx !

  • @el7284
    @el7284 3 года назад

    Amazing, but still way too expensive

  • @guanacodevs
    @guanacodevs 5 лет назад +1

    Automagically!!!

  • @Kevin-yw5qr
    @Kevin-yw5qr 4 года назад +1

    10:50 speak of the devil, Reddit just rolled out that feature and its incredibly annoying.

  • @JnanadasKKunjan
    @JnanadasKKunjan 5 лет назад

    thanks

  • @planktonfun1
    @planktonfun1 Год назад

    You don't have to sell it to me, I already bought it

  • @AymanShaabanELsayedDEVELOPER
    @AymanShaabanELsayedDEVELOPER 5 лет назад

    Hi,
    @Todd Kerpelman
    Please help me,i need to support my firestore java chat app with fcm
    Give me an link that helps me,
    Thanks

  • @too-many-phils
    @too-many-phils 11 месяцев назад

    realtime UX is much more complicated than this presumes. I strongly disagree it should be the default experience

  • @seccat
    @seccat Год назад

    OK, let's do this... Leroy Jenkins!

  • @modoestudiopa2062
    @modoestudiopa2062 2 года назад

    This was useless for me, not that the information wasn't well presented, or the info itself was useless, the useless part is that seeing that this is in the page of the documentation for the topic, I was expecting at least a little bit of code explanation

  • @afj9966
    @afj9966 4 года назад

    9:11 auto-magically

  • @hawarhekmat1174
    @hawarhekmat1174 2 года назад +1

    Flutter and firebase the magic 🪄✨🪄✨

    • @Firebase
      @Firebase  2 года назад +1

      We're so glad you enjoyed the video, Hawar!
      Check out more episodes on Cloud Firestore here:
      goo.gle/Cloud-Firestore
      😎

    • @hawarhekmat1174
      @hawarhekmat1174 2 года назад

      @@Firebase thank you so much, I'm enjoying it more than anything.