Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending Notifications in bulk #22

Closed
GoogleCodeExporter opened this issue Apr 23, 2015 · 3 comments
Closed

Sending Notifications in bulk #22

GoogleCodeExporter opened this issue Apr 23, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

I'm trying to send push notifications in bulk, around 800 at a time. But none 
of the push notifications are being sent.I can successfully send push for 
around 100 devices at a time but not able to send to devices more than 200 at 
once.
I am maintaining a persistent connection with APNS.

Did anyone face this issue before? what is the solution to this problem?


Original issue reported on code.google.com by sudheer....@gmail.com on 8 Jul 2010 at 4:14

@GoogleCodeExporter
Copy link
Author

  Hi. 
  Maybe apple has some limitation in the size of each request size. Other that send 800 device at once , you can use 4 thread . Each sends 200 instead.
 Hopefully It can give you some help.

Original comment by feiyangf...@gmail.com on 22 Jul 2010 at 9:58

@GoogleCodeExporter
Copy link
Author

Hi Sudheer...can you share the code template to send notification in bulk. 
Please see the thread I started
http://code.google.com/p/javapns/issues/detail?id=35&can=1

Original comment by pilotj...@gmail.com on 9 Dec 2010 at 3:51

@GoogleCodeExporter
Copy link
Author

Solved in 2.0.  The new javapns.notification.transmission.NotificationThread 
class provides the ability to limit and manage automatically the number of 
notifications per connection, to avoid this issue with Apple servers.  Further 
more, the new javapns.notification.transmission.NotificationThreads class 
provides the ability to spread the work over multiple NotificationThread 
threads.

Original comment by sype...@gmail.com on 9 Sep 2011 at 7:04

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant