Amazon SQS for windows push notifications - amazon-sqs

Is it a good idea to use Amazon SQS for push notifications to a windows desktop application ?
Are there any limits to the number of connections ?
Would the number of connected clients affect the pricing, or just the number of messages ?

Related

Offline behavior of AWS SNS

When device is offline or not in network, then after getting network access it should receive all the undelivered notification messages. Is SNS taking care of this scenario or it depends on GCM/APNS/WNS services?
The SNS service uses its connections with GCM/APNS/WNS etc, to send push notifications to the mobile devices. It requires credentials from "Push notification Service Providers" in order to send the notification. The notifications are kept in a queue for certain period of time, and it is not guaranteed to be delivered if the SNS service fails to establish the communication with GCM/APNS/WNS.
Have a look at this to know more about working of SNS.

What is the best strategy to broadcast 500K push notifications at once via AWS SNS mobile push minimum latency?

It seems we can not subscribe more than 10K subscriptions per sns topic.
To achieve minimum latency from send to notification received in the device, would it be recommended
* to create 50 topics containing 10K users each ? this would then result in 50 sns publishes which is easy to manage in the sender side (has any used this scenario in production ? ).
or
* to do 500K direct sns publishes (which will involes having some infrastructure (+ associated cost) to be able to parallelize such a big number sns publishes in a short amount of time)
thanks!
Amazon SNS now allows topics with 10 million subscriptions. If you intend to deliver the same message to all subscribers, use a topic to broadcast. If you need to customize the message for each subscriber, you should use Direct Publish.

Regarding Push Notification and Apple Development Licence

I would like to ask about notifications and apple development license.  In addition to adding users to our shared backend on server, we will also be installing the system on user internal networks, in dedicated self-hosted implementations.  In such a scenario, how is the installation of the Push Notification system affected, versus our current installation on the platform?  Can we install multiple servers, each with its respective notification systems running concurrently at different user sites?
You can have many servers sending push notifications - there is no problem with that. You would need to handle centralized or distributed database of the users devices IDs (to which you want to send notifications), so you don't end up sending same notifications to the same device from your multiple servers multiple times.
If by installing the system on user internal networks you mean networks not connected to the internet, then you can't use Apple Push Notifications, since it requires access to Apple's servers.
If, however, you simply mean that multiple servers connected to the internet would send push notifications to your app, you can do it. I assume you'd want each subset of devices that install your app to send their device tokens to a different server, which will send push notifications to those devices. Each server would need your push certificate in order to send notifications to your app. You can either share the same certificate with all servers that host your server code, or create a different certificate for each server.

memory for iOS push notification

I have a vps with a 512M memory, and I want to use it as a push notification server for my iOS app, at the time I push messages to 2,000 users(2,000 device tokens),the vps would down since using too much memories.
Now I have 30,0000 users, is there any way to push messages to all these users?
or what size of memory I should prepare for 30,000 users?

APNS Send notifications from multiple servers

I am writing an iOS application which will be sent notifications over APNS from backend servers.
Can I configure multiple servers to connect to APNS and send notifications? If so, is there a limit on the number of servers which can send notifications for a single application?
I can't find any details about this on the Apple site (e.g. http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ApplePushService/ApplePushService.html)
Yes, you can have multiple servers (Providers) connected to the APNS to send notifications to the same application, and no, there is no limit on how many. You just have to have the same APNS certificate on all of them.
Having multiple servers (providers) works well when sending notifications, the question is how to handle the Feedback service?
One server might query the feedback service, get a list of device tokens that have been removed but some tokens might be there from a push notification send from another server.

Resources