Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase simultaneous realtime connections to my database

I have the free plane in Firebase - I have 100 simultaneous realtime connections. But I didnt understand one thing: Now, No one connected to my app, and in Firebase - It is written that I have 3 connection. What that mean? I have 100 connections in general or maximum 100 simultaneous realtime connections?

I would love someone to explain to me how it works.

thanks

like image 345
Ron Avatar asked Mar 04 '17 14:03

Ron


People also ask

How many connections can firestore handle?

Higher Beta Limits You can now perform up to 10,000 writes per second per database (up from 2500) and Cloud Firestore supports up to 1 million concurrent connections (up from 100,000).

Can I use Realtime Database and firestore at the same time?

You can use both Firebase Realtime Database and Cloud Firestore in your app, and leverage each database solution's benefits to fit your needs. For example, you might want to leverage Realtime Database's support for presence, as outlined in Build Presence in Cloud Firestore.

Can Firebase handle 10 million users?

Yes, it can hold even million concurrent users. Since Firebase is running in google servers, it's very stable. We use to have 30K simultaneous users for application that's hosted in firebase.


1 Answers

The FAQ has an item that explains what a connection is:

A simultaneous connection is equivalent to one mobile device, browser tab, or server app connected to the database. Firebase imposes hard limits on the number of simultaneous connections to your app's database. These limits are in place to protect both Firebase and our users from abuse.

The Spark plan limit is 100 and cannot be raised. The Flame and Blaze plans have a limit of 200,000 simultaneous connections per database.

This limit isn't the same as the total number of users of your app, because your users don't all connect at once. If you need more than 200,000 simultaneous connections, please read Scale with Multiple Databases.

like image 125
Doug Stevenson Avatar answered Sep 28 '22 15:09

Doug Stevenson