-
Notifications
You must be signed in to change notification settings - Fork 20
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
DataStream.distribute causes "StreamWorker child timeout" #61
Comments
Hey, this will be the first under 1 minute reaction time. :D Looking into - will try to reproduce and come back. Good issue writing. 👍 |
Ok, strange - I do see an error, but actually a different one:
Indeed Scramjet is not currently tested on Mac, since I have limited time to do that on my own infrastructure and I'm not aware of any free tools that would support macos tests... |
Hi, I confirm this is an error on This doesn't work with any kind of child worker anymore. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Confirm I am also getting Update getting the same error on linux. Realized this is an issue with how I am using the lib. The api expects string pointing to file or npm package that gets included in a require statement here |
@seanavery would you be able to attempt to fix this? There must be something wrong with the StreamWorker class when it passes the code to be run there. I sadly don't have the throughput to fix this as I'm working on a major rewrite for If you could create a repo that would show the problem then we could try to solve it together and I'd happily accept a fix PR. |
@peterviergutz @seanavery can you check a one thing for me and just refactor the code from: someDataStream.distribute(stream => something(stream)) to: someDataStream
.separate(({x}) => "____" + x % 12)
.cluster(stream => something(stream)) This may cause some own issues, but let me know if the result is any different from this. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
First of all, thanks for this awesome library! I am very eager to test out hwich perfroamnce gains I can achieve using the distribute method, but somehow I cannot get it to run. Posting as a regular issue, because I am not sure if this is a bug or something wrong on my side.
I derived a small script from the testcase of the
distribute
method to test out any performance gains, but it keeps exiting on aproduces:
System:
Thanks for any pointer on how to solve this.
The text was updated successfully, but these errors were encountered: