In my Android app, I have an activity, a fragment and a dialog at the same time, each having their own addValueEventListener()
for different queries. What is the simultaneous connection count at this time? Is it one because all requests coming from one client or is it three because each different request counts as one?
Asked
Active
Viewed 631 times
2

Mehmed
- 2,880
- 4
- 41
- 62
1 Answers
1
A single client maintains a single connection to the Firebase Database servers. All read and write operation re-use this same connection.
Also see:
- How the Connection is calculated in Firebase (for JavaScript, but all Firebase SDK work the same in this respect)
- Concurrent users and multiple observers (for iOS, but all Firebase SDK work the same in this respect :-)
- How exactly are concurrent users determined for a Firebase app?
- Clarify the Firebase connections

Frank van Puffelen
- 565,676
- 79
- 828
- 807
-
Thank you for the reply. I checked before I asked but I have missed the second link. – Mehmed Aug 06 '17 at 22:51