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

multiple streams #20

Open
journeytosilius opened this issue May 28, 2021 · 3 comments
Open

multiple streams #20

journeytosilius opened this issue May 28, 2021 · 3 comments

Comments

@journeytosilius
Copy link

hi, is it possible to subscribe and parse different streams at the same time ? if so, can you provide with an example if possible ? Also, do you think it's safe to multi-thread ? My aim is to open one many streams per symbol and pipe the data through a local socket to another module. Thanks !

@dmikushin
Copy link
Owner

Hi @chromafunk Currently, websocket API is static, but it should not be hard to make it reentrant.

@journeytosilius
Copy link
Author

I see ... well that's kind of important, since otherwise I need to spawn a container for each stream and the binary + libraries are already taking 27MB :/

@dmikushin
Copy link
Owner

Actually this is a good point, and should be on our TODO list.

@dmikushin dmikushin reopened this Jun 2, 2021
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