Android的&放大器; (百万)推送通知 [英] Android & (millions of) push notifications
问题描述
我的工作我第一次在iPhone上创建的应用程序的Android版本和此应用程序需要发送(如果它是成功的,因为它的iPhone版),高达数百万推送通知到用户日常。
I'm working on the Android version of an application I first created on iPhone and this application requires to send (if it's as successful as its iPhone version) up to millions of push notifications to users daily.
我天真地以为Android平台有一个推送通知服务作为它的兄弟,所以我决定看看这个功能在开发结束,现在我在这里!
I naively thought the Android platform had a push notifications service as its sibling so I decided to look at this feature at the end of development and now here i am!
我搜索计算器答案有关此功能的(问题?),并发现了几个选项(谢谢你们!)但没有任何你们还是能够实现这样的功能,这样的体积?
I searched stackoverflow for answers about this feature (issue ?) and found several options (thanks guys!) BUT did any of you guys was able to achieve such a feature with such a volume?
下面是我发现的选项:
- 谷歌的C2DM框架:我的第一个问题是,它是为Android 2.2 +仅但我会考虑它,如果没有这个 200.000通知,每天的配额;做任何你们的要求提供更多的配额从谷歌?
- MQTT :这个解决方案看起来很好,样品$ C $安东Lopyrev提供的C是有帮助的(和戴尔巷的博客文章是好读);这是我现在使用的选项,但我不知道它如何可能与用户的千元反应(我也有服务器(mosquitto)或服务(我不知道的还麻烦),我不能有时会收到通知,有2用户:P)
- <一个href="http://stackoverflow.com/questions/1243066/does-android-support-near-real-time-push-notification/5695867#5695867">XMPP :它看起来像最好的选择(没有?),但我还没有尝试过;没有任何你们中使用此解决方案?
- Google's C2DM Framework : my first issue is that it's for Android 2.2 + only but I may consider it if there wasn't this 200.000 notifications a day quota; did any of you guys requested more quota from Google ?
- MQTT : this solution looks good and the sample code provided by Anton Lopyrev is helpful (and Dale Lane blog posts are a good read); this is the option I'm using right now but I have no idea about how it may react with thousand of users (I also have trouble with the server (mosquitto) OR the service (I don't know yet) and I am not able to receive notifications sometimes with 2 users :p)
- XMPP : it looks like the best option (yet ?) but I haven't tried it yet; did any of you guys use this solution ?
我读过有关Xtify或城市飞艇但这些商业解决方案可以帮助(体积或成本)。
I've read about Xtify or Urban Airship but none of these commercial solutions may help (volume or cost).
感谢您的任何提示!
编辑:我的目标是能够发送最多每天500万的通知
Edit : my goal is to be able to send up to 5,000,000 notifications a day
推荐答案
200K是发展的配额,我们会很高兴,如果你需要它来满足你更多。安卓2.2+再presents> 80%,今天在现场的Android设备。我们通常转身pretty的这些要求很快。
200K is the development quota, we'll be happy to grant you more if you need it. Android 2.2+ represents >80% of Android devices in the field today. We typically turn these requests around pretty quickly.
<一个href="http://developer.android.com/resources/dashboard/platform-versions.html">http://developer.android.com/resources/dashboard/platform-versions.html
这篇关于Android的&放大器; (百万)推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!