Migration of FCM to GCM processus (push maximum 1000 to maximum 1)

1,070 views
Skip to first unread message

Léo

unread,
Feb 22, 2024, 12:47:05 PM2/22/24
to Firebase Google Group
Hello All,
I'm in the process of migrating push messages from FCM to GCM (https://firebase.google.com/docs/cloud-messaging/migrate-v1) and I notice that the "registration_ids" field is deprecated. This made it possible to send an array of user tokens, with a maximum of 1000 elements per array.
From now on, this field is replaced by "token" and it is a string.
Has Google really removed the ability to send a message to 1000 people simultaneously and we have to do it 1 by 1?
Thanks,
Regards

Arthur Thompson

unread,
Feb 26, 2024, 1:43:21 PM2/26/24
to fireba...@googlegroups.com
Hi,

You are correct that the "registration_ids" field is deprecated. Sending via batch was not sustainable so the FCM team had to adjust how scaled messages are handled.

It is recommended that sending at scale with FCM be a mixture of sending directly to tokens in cases where the target number is small and use topics for larger user targets. You can find more on sending at scale here. Key takeaways:
- There is a 600K per minute limit on sends
- Avoiding send spikes (eg: avoid sending large amounts of messages at the top of the hour)

Good luck with the migration!

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/09a52ce3-4ce5-4952-b2b7-e4120be234edn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages