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

ztee should output records immediately instead of waiting for the record to clear the pipe #317

Open
paul-pearce opened this issue Jan 4, 2016 · 3 comments

Comments

@paul-pearce
Copy link
Contributor

This is extremely low priority.

Currently ztee won't write out input (zmap) records until they are sent out on the pipe. In environments where the avg queue size is 0 this doesn't matter. However if there is a queue, this isn't great. In the event of a crash not only do you lose zmap records, but I'd argue this is also unexpected behavior.

@dadrian
Copy link
Member

dadrian commented Jan 4, 2016

Just to clarify, the issue is that ztee doesn't write to the output file (the one passed as an argument to ztee) as fast as the output file will handle, but instead limits the speed to the speed of stdout?

@paul-pearce
Copy link
Contributor Author

Yes.

@zakird zakird added this to the ZMap Wish List milestone Jun 25, 2016
@dadrian
Copy link
Member

dadrian commented Jul 7, 2020

@paul-pearce I have an implementation of this in Go. How would you feel about moving ZTee to Golang?

@dadrian dadrian modified the milestones: ZMap Wish List, ZMap 3.0 Jul 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants