-
Notifications
You must be signed in to change notification settings - Fork 913
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
improve asynchonous publishing performance #374
Conversation
Reading briefly about using |
Maybe not, that seems to be the recommended way to do it. |
At least this recommends calling a http://docs.python.org/2/library/sched.html And later mentions that |
Please try the above example script with e.g. three listening I was able to get to 1kHz without a problem - and I think that is a restriction of the above script. If you e.g. invoke |
When disconnecting a
From what I can see, this should never have worked? Maybe it was always broken, but this change exposed it? |
Other than the traceback from above, this patch does indeed resolve the issue described in #373. |
You are running old code: #369. |
I tested this on my system, and it does fix #373 for me. |
Assuming this patch gets merged, will it get backported to hydro-devel? |
Yes, it will definitely be backported due to its significant impact and the fact that nearly no code is actually using the queuing yet and therefore the chance of a regression a very slim. |
improve asynchonous publishing performance
Cherry-picked to hydro-devel: f577021 |
Thanks @dirk-thomas ! |
improve asynchonous publishing performance
@esteve @tfoote @wjwwood Please review.