php - Scheduling push notifications with symfony2 -
php - Scheduling push notifications with symfony2 -
i have been tasked implement force notification scheme mobile apps of commercial web app using symfony2.
i have used rmspushnotificationsbundle(https://github.com/richsage/rmspushnotificationsbundle) creating , sending messages , implemented event-listeners send on-the-fly notifications clientele list. due fact need have scheduled notifications, have created couple of symfony commands executed through cron jobs. code behind commands checks scheduled notifications every 30 minutes , if notification sent in current time interval, sents it.
currently works fine. main concern regards scalability of current implementations user-base expected grow lot.
is there improve way go regarding scheduled notifications? know bit generic question appreciate kind of insight/ advice.
cheers
i think not question of scheduling of scaling. gcm (google cloud messaging) can force multiple devices @ 1 time (up 1000): https://developer.android.com/google/gcm/server.html#target
this cut down request overhead. rmspushnotificationsbundle supports this, too: https://github.com/richsage/rmspushnotificationsbundle/pull/44
php symfony2 cron push-notification scheduled-tasks
Comments
Post a Comment