June 29, 2009

Is Apple's push notification enough for the iPhone?

The Apple Push Notification Service is a free, simple, and safe way to push data to iPhone apps. It fills iPhone's background process gap, albeit imperfectly

Only the chosen may pass through APNS
Safety is paramount in Apple's approach to APNS. The service and the client API guard against misuse. The sender is validated using keys issued to registered iPhone Developer Program participants, and the API ensures that only the specifically targeted application can unpack the message data. Opportunities for abuse are quite limited because cooperation of the user -- only a user can launch an iPhone application -- and sender identity that's beyond repudiation are prerequisites for getting a message through. APNS has the advantage of being extremely simple in concept, server platform-agnostic, safe, and free to use for anybody who has software listed on iPhone's App Store.

But the delivery of an APNS notification is neither guaranteed nor acknowledged, even though Apple's experience running global infrastructure makes delivery awfully likely. APNS has some qualities of RIM's fire-and-forget push infrastructure, but APNS is strictly one-way: From an external server, through APNS, to an iPhone. There is no return path for a delivery receipt or other communication from the phone.

The worst-case scenario that APNS presents is one in which some flashlight or girly pix app from App Store is a Trojan horse for notification spam. Apple has wired in an easy solution: If the iPhone user has uninstalled the application targeted by a push notification, if the App Store has withdrawn the app, or if the server generating the notification messages is sending an excess of messages, the APNS blocks the sender. In the case of uninstalled apps, Apple adds the targeted iPhone's device ID to a list of IDs maintained on Apple's servers. Servers are required to consult this list -- Apple recommends hourly -- to avoid tying up the APNS servers with undeliverable notifications.

APNS is not a substitute for multitasking
APNS isn't a substitute for other platforms' background processes or remote execution capabilities, but with cooperative users who launch apps when notifications appear, many custom mobile applications and services that rely on background tasks can now be ported to the iPhone. Apple gets to stick to its guns and still give customers and developers some of what they want.

APNS does have one major flaw: It is strictly one-way. It's impossible for a sender to know whether a message has been delivered to the device until the recipient drops what he's doing to launch the targeted application (which must then acknowledge receipt manually). There is no way to determine even whether a given iPhone is present on a network.

But for active users who want to be reachable at a moment's notice, APNS fits the bill without breaking the platform.

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Today's Headlines: First Look Newsletter

Find out what will be news for the day, with our first-thing-in-the-morning briefing.

©1994-2009 Infoworld, Inc.