kaylavanhaverbeck / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Bulk notification freeg internet explorer #193

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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