Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WNS or MPNS for Push notifications?

I am creating an app that makes constant use of push notifications as means of communicating between users (messaging of sorts). This whole ordeal seems to drive me a bit nuts, so here are few questions I could not find an answer to.

  1. I found mentions that non-authenticated web services (ones without certificate) are throttled to 500 push notifications per day per subscription in MPNS. However, I could not find such mentions anywhere when trying to find limitations regarding WNS. Do these limitation/requirements exist for WNS?

  2. At best, I am sending quite many push notifications (i.e. 1-3 per second per active user). I understand that this might eat battery life out of smallest devices (my targets are Windows 8 devices in general), but so does polling the server for updates. My approach has the advantage of being very responsive, but I am not sure push (raw) notifications are meant for communication such as this. Are there any alternatives? Basically I have ditched the persistent connection option due to the nature of mobile networks (connections can drop out)

  3. What is the actual difference between these two?

Perhaps I'm slightly confused with the terminology and some other sources suggested that I can't even go around MPNS, but doesn't WNS do exactly that?

I'm not sure if this is the right media to post these questions, but I hope someone out there can shed some light into this.

like image 770
Muhwu Avatar asked Sep 30 '13 13:09

Muhwu


1 Answers

  1. The 500 push notifications per day per subscription in MPNS only apply is you don't authenticate your service calls to MPNS. If you authenticate, there won't be any limits.

  2. Such a high frequency doen't seem an appropriate use for push notifications for mobile devices, but I'm not sure about the alternatives.

  3. WNS is the push notifications service for Windows 8 store applications. MPNS is the push notification service for Windows Phone devices. The service you should use depends on which OS you are targeting.

like image 179
Eran Avatar answered Sep 24 '22 18:09

Eran