C2DM 限制?
截至 2011 年 5 月,Google 的 c2dm 文档 是这样说的:
“Google限制发送者总共发送的消息数量,以及发送者向特定设备发送的消息数量”
具体限制是什么?如果我的服务器每天向 10,000 台设备发送 10 条消息,Google 会关闭我的应用程序吗?
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 messages a day to 10,000 devices will Google shut my app down?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
当您在此处注册 C2DM 时,系统会要求您填写估计的“估计每天消息总数”和“估计每秒峰值查询数 (QPS)”。
根据 C2DM 配额页面,当前默认限制为每天大约200,000 条消息。
如果您的要求超出此限制,您应确保正确使用 C2DM,并在 配额页面。
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.
具体限制是根据每个帐户得出的,并且可以根据(合理的)请求进行修改。例如,我的 c2dm 帐户每天“仅限”“仅”100,000 条 c2dm 消息。
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.
如果您担心消息计数限制,无论如何您都应该切换到 GCM。
折叠前保存的消息数量有限,即 100 条。
C2DM 已弃用,已被 Android 版 Google 云消息传递 (GCM)。
Google 的声明:
有一个GCM 演示应用教程以及 < a href="https://developer.android.com/guide/google/gcm/c2dm.html" rel="nofollow">从 C2DM 迁移。
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:
There is a demo app tutorial for GCM and also for migration from C2DM.