Question

I'm currently looking to offer push notifications to an iphone and android app I'm working on. I took a look at the push notification services and they are very expensive so, I'm looking to run my own using socket.io.

I guess my question is, how demanding on the server are push notifications? Do I need a ton of bandwidth or some specific server setup?

I haven't used push notifications before to estimate the amount I would need sadly.

Currently I'm using Nodejitsu for my nodejs app and plan to have it host the push server too for what its worth.

Any help to point me in the right direction will help a lot.

Was it helpful?

Solution

The required bandwidth depends on the number of notifications you are planning to push every day. Each notification is relatively small (for Apple Push Notifications - up to 256 bytes payload + some overhead < 400 bytes per message; for Google Cloud Messaging - up to 4K bytes payload + some overhead < 5K bytes per message). You can do the math.

In addition, for Apple Push Notifications your server must allow connection to outgoing ports 2195 & 2196. I'm not familiar with Nodejitsu, so I can't give you more specific information.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top