Realtime replacement for Cloud Firestore

I'm trying to rewrite / refactor an app I've been working on for some time. I made a lot of bad decisions because I didn't know what I was doing back when I started it. One of these decisions using Cloud Firestore as the database, which has been quite limiting. I was watching Theo's video on databases and he said that Supabase has basically replaced the need for Firestore right now. However, contrary to the video the realtime support seems really half-baked. "Presence", as they call it, seems basically undocumented and not type safe. I haven't actually gotten it to work yet so maybe I'm just missing something. Has anyone built a realtime application with supabase or can anyone give me another realtime database recommendation?
9 Replies
benten
benten3y ago
Supabase presence just got released I think? Actually I didn’t know it was released yet But yeah, real-time in supabase is pretty good but the newer stuff probably isn’t quite stable yet Right now supabase + web sockets is better than firebase, or wait a bit for the new real-time stuff to stabilize
Tom
Tom3y ago
But yeah, real-time in supabase is pretty good
do you mean the postgress_update? my problem with that is that my clients dont have the whole document @benten ^
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Tom
Tom3y ago
@flicknote they seem to recommend cloud firestore for most use cases now. is there an advantage to using the rtdb?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Tom
Tom3y ago
ok. fair enough. i think i could use cloud firestore or rtdb, but maybe i should just not make it my only db in retrospect i really tried to buy into the whole "denormalized, document based db" and got into a lot of trouble with that maybe if i just like.... only use cloud firestore for the part its good at
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Tom
Tom3y ago
ok. thanks a lot
benten
benten3y ago
Uh I mean like whatever realtime stuff they had prior to the revamp Basically updates to changes in the DB
Want results from more Discord servers?
Add your server