C2DM限制?

时间:2011-05-12 18:28:52

标签: android android-c2dm

截至2011年5月,c2dm的Google documentation说明了这一点:

“Google限制发件人汇总发送的邮件数量,以及发件人发送给特定设备的邮件数量”

具体限制是什么?如果我的服务器每天向10,000台设备发送10条消息,Google会关闭我的应用吗?

3 个答案:

答案 0 :(得分:2)

当您signup C2DM here时,系统会要求您填写估计的“每日消息总估计数”和“每秒估算的峰值查询数(QPS)”。 根据{{​​3}},当前默认限制大约是 每天200,000条消息

如果您的要求超出此限制,您应确保正确使用C2DM,并在C2DM quotas page的底部链接提交请求配额。

答案 1 :(得分:1)

具体限制是根据每个帐户得出的,并且可以根据(合理)请求进行修改。例如,我有c2dm帐户,每天“限制”为“仅”100,000 c2dm邮件。

答案 2 :(得分:0)

如果您担心邮件数量限制,您应该切换到GCM。

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

C2DM已弃用,已被Google Cloud Messaging for Android (GCM)取代。 谷歌的声明:

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.

C2DM有demo app tutorial for GCMmigration