APNS-php push is so slow

907 Views Asked by At

I am doing a project that makes use of apns-php to push notifications to users of an apple app.

There are about 2.7 million users. Currently, it takes about 3 days to push so many users. I allow 1000 concurrent processes for ApnsPHP Server. It is eating up almost all my server memory.

Is this speed for apns push normal? or there is someway that I can speed up?

thanks

1

There are 1 best solutions below

0
On

Did you try to queue the push operations? Another fact is that you can use a single connection to send multiple messages. Several answers mention these kind of solutions here in SO too.