Is GCM (now FCM) free for any restriction?

I would like to know if Firebase Cloud Messaging is free or not for unlimited users?

+50
android firebase firebase-cloud-messaging firebase-notifications google-cloud-messaging google-cloud-platform
Jun 30 '16 at 16:59
source share
4 answers

In addition to answer from AL .
From the Tariffs Page:

What products are paid? What's free?

Paid Firebase Infrastructure Products - Realtime Database, Storage, Hosting, and Firebase Test Lab. We offer a free level for all of these products except Test Lab.

Firebase also has many free products: analytics, application indexing, authentication, dynamic links, cloud messages, notifications, Invites, Crash Reporting, &, Remote Config. You can use an unlimited number of them in all plans, including our free spark plan.

So it's free. The limit is not mentioned anywhere in the documents, however there is a restriction on the Firebase real-time database, as indicated in the FAQ:

Firebase imposes strict limits on the number of connections to the application database at the same time. These restrictions are designed to protect both Firebase and our users from abuse.

The free plan limit is 100 and cannot be raised. Flame and Flame Plans have an initial limit of 10,000 concurrent connection databases. This is to prevent abuse and can be raised by contacting Firebase Support with a 24-hour notice.

This restriction does not coincide with the total number of users of your application, because your users do not all connect immediately. We encourage you to monitor the maximum concurrent database connections and update if necessary.

We are working hard to remove the initial 10,000 simultaneous connection caps in the Flame and Blaze plans.

So, if you use the Firebase database to save your user data and want to send a lot of Push notifications to your user devices using the FCM registration token stored in the Firebase database, you can get into the limit in the Spark free plan, but it’s very difficult to hit limit of 10,000.

+27
Jul 11 '16 at 22:00
source share

From Firebase Cloud Messaging Docs :

Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that delivers reliable message delivery at no cost.

+9
Jun 30 '16 at 17:59
source share

You can refer to the official Firebase Pricings page. From there, you can see the types of projects available: SPARK, FLAME, BLAZE , for which everyone has FCM (along with Analytics, application indexing, Authentication, dynamic links, invitations, notifications, crash reports and remote configuration) is free .

enter image description here

+7
Jul 01 '16 at 3:36
source share

The Firebase Cloud Messaging Connection Server (FCM) connects to the application and application server. The following restrictions apply:

  • From the documentation here , it looks like FCM imposes a limit of 1000 connections in parallel.

For each sender ID, FCM allows 1000 connections in parallel.

Sender ID is a unique numerical value created when creating a Firebase project, available on the Cloud Messages tab of the Firebase Control Panel, Sender ID is used to identify each application server that can send messages to the client application.

Note Please correct me if this restriction does not apply to maximum connections from the application server to CCS




  1. Secondly, you should also read Flow Control if you are using the XMPP connection server protocol (which should be used for cloud messaging). There should not be more than 100 unrecognized messages regarding CCS at any given time.

If the number of pending messages reaches 100, the application server must stop sending new messages and wait for CCS to acknowledge some of the existing pending messages

+2
Feb 23 '17 at 18:30
source share



All Articles