GCM 和 APNS 中的推送通知配额 [英] Push notifications quotas in GCM and APNS

查看:26
本文介绍了GCM 和 APNS 中的推送通知配额的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个大众营销应用程序,我可以在其中向我的所有订阅者群发送优惠券,其中可能有数百万人,而且我应该能够在一天中多次发送优惠券.

I am creating a mass marketing application where I can send coupons to all of my subscriber base which can be a few millions people and I should be able to send coupons through out the day as many times I want.

所以,我的困惑是,我的任务是否会受到任何类型的配额的阻碍,比如这些流行服务上一天/一周/一个月的推送通知数量.此外,我的应用程序是否有可能因为发送这么多而被禁止向人们发送消息.

So,my confusion is will my mission be hindered by any kind of quotas like amount of push notifications in a day/week/month on these popular services.Also,is there any possibility of my app getting banned for sending so many messages to people.

我的应用不会向用户发送无关内容的垃圾邮件,并且该应用将确保发送的所有优惠券都会引起用户的兴趣.

My app won't spam the user with irrelevant stuff and the app will ensure that all the coupons sent,will be of interest to the user.

推荐答案

Apple 和 Google 都没有公布您在一段时间内可以发送的消息数量的任何配额.

Both Apple and Google don't publish any quotas of the number of messages you can send in a period of time.

Apple 在 技术说明 :

使用 APN 没有上限或批量大小限制.iOS 6.1新闻稿称 APNs 已发送超过 4 万亿次推送自成立以来的通知.它是在 WWDC 2012 上宣布的APNs 每天发送 70 亿条通知.

There are no caps or batch size limits for using APNs. The iOS 6.1 press release stated that APNs has sent over 4 trillion push notifications since it was established. It was announced at WWDC 2012 that APNs is sending 7 billion notifications daily.

如果您看到吞吐量低于每秒 9,000 条通知,您的服务器可能会受益于改进的错误处理逻辑.

If you're seeing throughput lower than 9,000 notifications per second, your server might benefit from improved error handling logic.

根据那句话,如果您每秒发送 9,000 条推送通知或更少,那就很好了.但是,这不是上限,只是您应该能够达到的速率的一个示例.他们实际上声称没有限制.

Based on that quote, if you are sending 9,000 push notifications per second or less, you are good. However, this is not an upper limit, just an example of a rate you should be able to achieve. They actually claim there are no limits.

Google 对 GCM 提出了同样的声明:

Google make the same claim about GCM :

GCM 是完全免费的无论您的消息需求有多大,而且没有配额.

GCM is completely free no matter how big your messaging needs are, and there are no quotas.

这篇关于GCM 和 APNS 中的推送通知配额的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆