8

There is an option to sync Hotmail e-mails (others have too) that says "as items arrive".

How exactly it works? It is something like Hotmail does in Desktop when pinned in IE9 (long pooling) or something else?

4

I found this and this which explains how the as items arrive option works. Here is some information pieced together from these links.

When you setup an Exchange ActiveSync account, the default synchronization mode may be Direct Push. With Direct Push, the device maintains an open connection so that information is delivered to the device as it becomes available. The setting for Direct Push on a Windows Phone 7 device is called, “as items arrive.” The alternative is a Scheduled Push mode where the device is set to check for new messages at a set interval.

What they mean by in open connection is through a unique identifier. This does not drains battery as no data flow is taking place all the time. Only your Data connection is alive as per usual and even when its sleeping or idling, the phone receives info from Hotmail because Hotmail knows where to send this info.

Its like a pipe connected from phone (A) to Hotmail (B) but no water flowing unless there is a need to. When you have a water to flow, B sends out a "trickle" to A to open up and establish contact and the water flows through. All this is through a unique identifier which B uses on the network. In addition the phone (A) also periodically sends out trickles to hotmail (B) after studying network conditions. So direct push adjusts to any network conditions when sending out email.

When configuring e-mail accounts, I've noticed that my Exchange accounts all default to as items arrive but my other personal accounts (Hotmail, Yahoo & Gmail) are set to have a synchronization time by default. Only the Yahoo account doesn't seem to have the option as items arrive backing up the theory that the e-mail provider is also responsible for this option to work seamlessly.

  • 1
    Please use > in front of quotes as opposed to code ticks (`), it's easy to become into a habit of using code ticks a lot, where as you'd rather want **bold**, *emphasis* and > quote instead. – Tamara Wijsman Apr 25 '12 at 12:22
  • Thanks for the tip. Was looking for a better option than (`). – Thomas Apr 25 '12 at 12:25
  • 2
    OMG It just works. Like you said. And I set this in Google too and it sync Calendar magically. Gmail I can't say because I don't use but the calendar I try. – Vitor Canova Apr 25 '12 at 12:30
  • 'As items arrive' seems to use more battery. This is based on my experience and this quote from your first article "Battery Life. Though Direct Push offers more up-to-the-minute message delivery, for some users, increased battery consumption may be a tradeoff. If your battery is not lasting as long as you would like, set a Scheduled Push interval by changing the Download new content option on the device." – row1 May 23 '12 at 9:23
2

It would be difficult to say for sure, as it is a closed source system, but I would imagine it uses the Microsoft Push Notifications service, in the same way that an application can for updating live tiles; in this manner there is no need to poll, which can obviously save bandwidth requirements.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.