Home > Blockchain >  How much realtime updating Firestore is possible?
How much realtime updating Firestore is possible?

Time:07-09

There is a group chat with 1000 people. These people listen to real-time updates to the same collection. If these all 1000 people keep chatting fastly like for an hour. All huge chat data could be updated without any problems? And also real-time listener could reflect all data?

CodePudding user response:

If you attach a real-time listener to a collection, all devices that are listening to that collection will be notified in real-time.

All huge chat data could be updated without any problems?

Yes, there will be no problem with that.

And also real-time listener could reflect all data?

Yes, it will.

The real-time listeners won't create a problem, but trying to keep an entire collection of 1000 users in sync, might create. So most likely you should consider implementing pagination, so you can load those messages in smaller chunks, otherwise, it will be some kind of costly.

  • Related