Efrit
Efrit

Reputation: 33

What does the FCM restriction about "100 multiple senders" actually mean?

The FCM documentation about "multiple senders" declares:

Note that there is limit of 100 multiple senders.


However, I don't understand what will happen, if I'll try to send FCM message from, for example, 150 senders at the same time (i.e. all of them will use the same FCM token value for the message content).

Currently I have 3 suggestions for this case:

  1. 100 most "first" sendings will be successful, and remaining 50 sendings just will be postponed (and executed after finish of previous 100 sendings).
  2. 100 sendings will be successful, however remaining 50 sendings will be not executed in general.
  3. All 150 sendings will be not executed.

What suggestion is correct?

Upvotes: 2

Views: 806

Answers (1)

AL.
AL.

Reputation: 37778

The note is under the Receiving messages from multiple senders section. This pertains to actual senders, not messages. As pointed out in the docs, a specific app can receive messages from multiple sources.

None of the three suggestions apply to the statement, but here's an example:

Say you have a news app where you get to choose from multiple sources. All of the selected sources can send updates(push notifications) towards your app. However, you have a limit of 100 sources. You can't go beyond that. You have to free up space first by removing a source.

For messages however, the most likely error that'd you would receive when a specific device is receiving too much at a given rate is Device Message Rate Exceeded:

The rate of messages to a particular device is too high. If an iOS app sends messages at a rate exceeding APNs limits, it may receive this error message

Reduce the number of messages sent to this device and use exponential backoff to retry sending.

Upvotes: 2

Related Questions