开发者

C2DM limitation?

As of 5/2011 the google documentation for c2dm says this:

"Google limits the number of messages a sender sends in aggregate, and the number of messages a sender sends to a specific device"

What is the specific limitation? If my server sends 10 me开发者_StackOverflow中文版ssages a day to 10,000 devices will Google shut my app down?


When you signup C2DM here, you're asked to fill in a estimated "Estimated total number of messages per day" and "Estimated peak queries per second (QPS)". According the C2DM quotas page, the currently default limit is approximately 200,000 messages per day.

If your requirement exceeds this limit, you should make sure using C2DM correctly, and submit the request quotas at the bottom link of the quotas page.


The specific limitation is derived per account and is modifiable upon (reasonable) request. For example, I have c2dm account which is "restricted" to "just" 100,000 c2dm messages per day.


If you worry about message count limitation, you should switch to GCM anyways.

There is only a limit of messages saved before collapsing, which is 100.

C2DM is deprecated and has been replaced by Google Cloud Messaging for Android (GCM). Google's statement:

Important: C2DM has been officially deprecated as of June 26, 2012.
This means that C2DM has stopped accepting new users and quota requests. 
No new features will be added to C2DM. However, apps using C2DM will continue to work. 
Existing C2DM developers are encouraged to migrate to the new version of C2DM, 
called Google Cloud Messaging for Android (GCM).
See the C2DM-to-GCM Migration document for more information.
Developers must use GCM for new development.

There is a demo app tutorial for GCM and also for migration from C2DM.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜