-
Notifications
You must be signed in to change notification settings - Fork 6
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
Move Streamers from Threads to Processes #13
Conversation
At the moment multiprocessing is not working on Windows or MacOS, I think because the This may mean that Windows and MacOS users will run in to rate-limitations and gaps in data. If anyone on windows finds this PR in the future, this might be why! |
I ran into some issues when running multiple
RealTimeTribes
with many templates that data would appear gappy from seedlink clients. I suspect that this was due to the MainProcess hogging the thread-time and not allowing the Streamer any of the Thread.To get around this I have migrated the Streamers to Processes, with associated Queues for communication. This has been quite complicated!
I'm running a longer-term test with the same settings that resulted in the issue to see if this crops up again...