iphone - EasyAPNS: Has anybody tried it with large amounts of notifications? -
i implemented easyapns in app , server , have database 2000+ registered devices.
today tried send notifications of these devices , script timed out. checked code (should've done earlier, know) , discovered opens connection for each message.
basically thing never work , ip banned, right? how's possible problem not mentioned anywhere in google group? apparently nobody tried library lot of notifications -- can real? or missing something?
i ended rewriting lot of code sends messages apns. instead of looping through each message opening , closing connection every time, fetch n messages (probably limit 100) database every minute , send them in 1 shot. until messages table empty (i used cron job this). had more work because needed multiple application support.
i'm not sure easyapns guys thinking when wrote library. honestly, didn't @ -- have been better if had written apns code scratch on own. should need in modifying library, comment post.
Comments
Post a Comment