roycezhc/javapns

Bulk notification freeg internet explorer

Closed this issue · 4 comments

What steps will reproduce the problem?
1.web application in Java and Java Script  Sending 70000 user to push 
notification
2.Hang the screen half an hour
3.i am using ajax asyhncronus call

thread 30 at a time i am sending 1000 bunch at time.

Please help 

Original issue reported on code.google.com by abhimany...@gmail.com on 16 Jul 2013 at 7:30

1000 token take in one bunch and using thread 30 for 1000 please help me what i 
will do fast process i am using Advance notification method in javapans.
public void send (List<Device> devices, Object keystore, String password, 
boolean production) { 
        /* Prepare a simple payload to push */   
       PushNotificationPayload payload = PushNotificationPayload.alert("Hello World!");       
  /* Decide how many threads you want to create and use */      
    int threads = 30;         /* Start threads, wait for them, and get a list of all pushed notifications */      
    List<PushedNotification> notifications = Push.payload(payload, keystore, password, production, threads, devices);  }

Original comment by abhimany...@gmail.com on 16 Jul 2013 at 7:35

do we have any update on same? I am facing similar issue..

Original comment by compchap...@gmail.com on 4 Oct 2013 at 7:58

Transmission delays can be caused by a number of things... 

- your connection quality with Apple servers
- your computer's processing capabilities (processors, memory, etc.)
- Apple's APNS processing speed
- the 'maxNotificationsPerConnection' property in NotificationThread which, by 
default, causes each thread to disconnect and reconnect its socket after having 
processed 200 payloads to avoid a connection stability issue with Apple

Original comment by sype...@gmail.com on 30 Sep 2014 at 3:37

Closing because submitter has not updated its report in over a year, and issue 
is probably caused by one of the probable causes listed in note 3.

Original comment by sype...@gmail.com on 13 Nov 2014 at 5:46

  • Changed state: Invalid