What is the device message rate limit in Android GCM? Why does the limit exist?
Asked
Active
Viewed 903 times
1
-
why you are asking question if you know the answer? – Pramod Yadav Dec 11 '14 at 06:44
-
1See http://stackoverflow.com/help/self-answer. We receive this question regularly. – PaulR Dec 11 '14 at 06:46
1 Answers
3
The Device message rate limit is added to manage misbehaving apps that send unreasonable amounts of messages to clients, which causes problems to end users, e.g. by draining the device battery.
This limit is set high and should not affect well behaving apps. But as a best practice, when the app server attempts to send a message to a device, it should be prepared to handle the device message rate limit error code. There are resources available that explain how to handle this error message, including an explanation on how to work well with rate limits.