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

Push message is very slow #81

Open
naivefun opened this issue Apr 25, 2015 · 1 comment
Open

Push message is very slow #81

naivefun opened this issue Apr 25, 2015 · 1 comment

Comments

@naivefun
Copy link

Hi

I'm testing on local, it takes 500+ or even 1000+ms to push a message, very slow.

How can I improve the speed? or using connection pool? Thanks.

6141522235577319120 : 1655
6141522235577461809 : 537
6141522235577461812 : 1107
6141522239872429113 : 1645
6141522239872350360 : 990
6141522239872350374 : 1653
6141522239872207044 : 1016
6141522239872207029 : 711
6141522239872350377 : 525
6141522239872429134 : 1675

@pyeremenko
Copy link
Contributor

Hi, @vordio

There are several possible options:

  • You can fork this repo and try to use connection pool
  • If you need to push many messages at a time, you could push a collection of messages in one request
  • You can also move part of your code to IronWorker. In that case you could expect latency below 50ms

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

No branches or pull requests

2 participants