ValueEventListener account as a concurrent connection in Firebase?

0

If my application in Firebase has 5 users and all of them have a valueListenerEvent on, waiting for some change in the database, do I have 5 connections at the same time? For example, in a chat using firebase with 105 users connected at the same time, are these 105 connections at the same time, ie 5 users are "down" and can not connect? Or is not this the way the firebase counts connections concurrently?

    
asked by anonymous 14.11.2016 / 21:13

1 answer

0

Your thinking is correct, for every active user is a connection in the bank. And if your connections are on the edge the new active users will not be able to connect to the base. Another care you need to have is to leave the connection to the open bank in the background, so as not to break your limit.

Remembering that you have a thousand users who have installed your app, this does not mean that you have a thousand concurrent users accessing the database, because each user has different behavior.

Please refer to this example here: link

    
17.01.2017 / 14:30