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

Broken Pipe every 100-300 messages #10

Closed
GoogleCodeExporter opened this issue Feb 10, 2016 · 2 comments
Closed

Broken Pipe every 100-300 messages #10

GoogleCodeExporter opened this issue Feb 10, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

I'm running send notification in a tight loop to try and benchmark the 
performance/throughput.  I'm 
seeing a broken pipe exception fairly often.  This limits my throughput to 
around 100-300 
messages per second, with significant overhead in re-establishing the 
connection.  I've enabled 
TCP keepalive, but this doesn't seem to have effected performance at all.

Original issue reported on code.google.com by str...@gmail.com on 1 Dec 2009 at 4:38

@GoogleCodeExporter
Copy link
Author

Original comment by idbill.p...@gmail.com on 27 Apr 2010 at 4:39

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

@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.

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

  • 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