I am trying to implement a Push Notification system in PHP, which should send mass notifications with minimal delay, as described here

The drawback that I see in this architecture is how to automatically scale Notification Workers. As far as I know, there is no way to count pending tasks in the unload queue and not count active workers. How do you do this?
google-app-engine push-notification google-tasks-api
Javier marรญn
source share