km1234567890
km1234567890

Reputation: 1

Querying/sending large amount of push notifications, how to test speed before deployment?

I am working on migrating my parse.com app to Heroku, with the DB hosted on mLab. I have already migrated my parse.com data to mLab. I have a sandbox Parse Server running on Heroku pointed at a sandbox DB on mLab.

The main function of my app involves sending 1000+ time sensitive push notifications to instances of my (iOS only) app. The notifications need to be delivered within a few seconds to be very useful.

The pushes are generated by my server PC at home which sends push queries to the parse server.

What is the best way to test the speed of querying/pushing to a large amount of (iOS) installations with this setup?

Is there a way to create dummy PFInstallation objects to test with, or some other method?

Upvotes: 0

Views: 377

Answers (1)

Ran Hassid
Ran Hassid

Reputation: 2788

push notifications performance is not something that you can control on. When you send a push to one or more iOS devices you send it to APNS (apple push notifications server) and then APNS will send the notification to the devices. Usually APNS performance are pretty good and work very fast but you cannot say that its real time because sometimes you may experience some delay when you will try to send the notification. Also push notification works in fire-and-forget means that you cannot really know if the notification arrived to your device.

Upvotes: 0

Related Questions