C2DM 限制?

发布于 2024-11-07 08:49:51 字数 248 浏览 0 评论 0原文

截至 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

煮茶煮酒煮时光 2024-11-14 08:49:51

当您在此处注册 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.

三生路 2024-11-14 08:49:51

具体限制是根据每个帐户得出的,并且可以根据(合理的)请求进行修改。例如,我的 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.

旧人 2024-11-14 08:49:51

如果您担心消息计数限制,无论如何您都应该切换到 GCM。

折叠前保存的消息数量有限,即 100 条

C2DM 已弃用,已被 Android 版 Google 云消息传递 (GCM)
Google 的声明:

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.

有一个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:

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文