苹果的APNS交货是有时慢 [英] Apple's APNS Delivery is Sometimes Slow

查看:438
本文介绍了苹果的APNS交货是有时慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用我们自己的内在APNS推送系统(用PHP写的),我们推到我们的设备上的某些事件。某些通知被设备接收相当瞬间,而有些设备可能需要长达15分钟才能看到。

Using our own inbuilt APNS push system (written in PHP), we push to our devices on certain events. Some notifications are received by devices fairly instantaneously, while some devices can take up to 15 minutes to see.

我们保持连接打开(根据需要由苹果公司)和复位错误连接成也证明(通常当他们关闭连接)。

We hold the connection open (as required by Apple) and reset connections on errors as also documented (typically when they close the connection).

所有这一切工作正常,我可以把我们的系统中的任何点排队的消息对我的iPod touch,并会在几秒钟内收到通知。

All that works fine, I can at any point put into our system queue a message to my ipod touch, and will receive notification within seconds.

然而,有时在其他设备(如3G iPhone设备)APNS更多的,往往不是正确地传递 - 但可能需要长达15分钟到达

Sometimes however, on other devices (3G iPhone devices for example) APNS is more often than not, delivered correctly - but can take up to 15 minutes to arrive.

看着我的申请,我可以看到通知推一次,速度非常快,并没有错误。然而,他们似乎是在交货速度方面未predictable。

Watching my application, I can see the notifications are pushed only once, very quickly, and without errors. However, they seem to be unpredictable in terms of delivery speed.

据我所知,使用3G APNS prefers,因此,如果连接是一个问题 - 这可能会导致延迟长达15分钟,而在设备上APNS连接被重新初始化

I understand that APNS prefers using 3G, so if connectivity is an issue - this can cause delay up to 15 minutes while APNS connectivity on the device is reinitialized.

有更多的东西可以在我们的终端或使用APNS当生活的现实交付成功(快速)的APN信息办?

Is there something more that can be done in delivering successful (and quick) APNS messages on our end or a fact of life when using APNS?

看起来我们正在测试,似乎有大多数问题都与沃达丰(澳​​大利亚)。

It appears the devices we're testing on that seem to have the most issues are with Vodafone (Australia).

推荐答案

事情在其他线程一些previous信息,看来,它可能不是'罕见'如果发生延迟。

Going on some previous information in other threads, it appears that it may not be 'uncommon' if a delay occurs.

虽然在多数情况下,你应该期望在几秒钟内递送,显然它可以是最多30分钟,只是由于网络如移动网络辍学和其他因素的问题。

While in most cases you should expect a delivery in seconds, apparently it can be up to 30 minutes, just due to networking issues such as mobile network drop-outs and other factors.

来源:方法ios的多少延迟推送通知
也:<一href=\"http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ApplePushService/ApplePushService.html\"相对=nofollow称号=苹果的APNS文件>苹果的APNS文档

这篇关于苹果的APNS交货是有时慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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