flutter_firebase_chat_core
flutter_firebase_chat_core copied to clipboard
Way too many reads
Hey there!
I implemented the chat in my app with cloud functions for updating the message status etc. Now the problem I have that before cloud functions, sending a message and opening a chat was already like 50 reads. But now it is 150 reads per single message. Any way to improve that?
Hello! Wow, seems like a lot. This was brought up here a couple of times, and someone suggested that realtime database is actually better than firestore for the chat application, but both improvements and complete rewrite to realtime database are not in plans (unless someone will do a PR). I was always looking at this as a quick prototype / PoC package to then develop own scalable solution, since it is practically impossible to do this kind of lib that satisfies millions of different needs and specifications.
Added a disclaimer to the README, so people don't end up losing money actually (if used on a Blaze plan)