-
Notifications
You must be signed in to change notification settings - Fork 1
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
make DA blocks transient #22
Comments
Further issue is that some things in the fixed header may not be knowable at the time it is sent. For example:
Perhaps a better protocol for low latency would be:
This allows the receiver to do early warning processing on the data in a low latency manner, but makes the final archived record as good and complete as it would be if the logger waited to send the entire record as a single transmission. My idea may not be the correct way forward, but I do feel it is important if we intend the structures to be used in a low latency protocol to think in detail about exactly how they would be used, and probably to also include the proposed protocol in the document at least in a big picture manner. |
Then start a new record. But you wouldn't have the problem with chunks format in the first place. |
Thinking more about this, I do not like the multiple repeated data blocks in records. I think that something like the DA block is a really good idea for low latency transmission, but not for archiving and data center output.
For real time, the protocol for the sender would be:
The receiver would:
The archive storage would then look more like the 0622 spec with a header, one data section and a footer.
Consider a low latency case were we are sending a DA block every 0.1 seconds with 10 samples from a 100sps channel, not unreasonable if early warning is really going to work. The final record would have 6 bytes of DA block "header" bloat for the data which might fit into 10 bytes!
Over the wire, this makes sense as you want the low latency, but in the archive or for an end user it is terrible. Of course you can concatenate DA blcoks, but as soon as you do that why would you not concatenate all DA blocks within a record?
The text was updated successfully, but these errors were encountered: