-
Notifications
You must be signed in to change notification settings - Fork 0
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
Checksums have issues... #23
Comments
The problem is that since Hyrax provides checksums by default and TDS does not, we will be forced |
The good thing about optional checksums is that the server only needs to compute them when they will be needed, saving time. And it's significant. The time spent computing the checksum was about equal to the time DAP2 spent turning little endian bytes to big endian. The bad thing about optional checksums is that optional behaviors (seem to) make interoperability less likely. Can we amend the spec so that it's not an optional behavior and, at the same time. not a constant burden. Maybe an additional response type? That is, you make a checksum request and get a checksum response - it's neither part of the DMR nor the data response. I'm wondering how to write clients that can read from both existing servers. |
As far as I can see, this can only happen if no-checksum is the default and some variant of dap4.checksum=true|false is supported. |
And we need to fix them!
Should checksums really be optional?
How should they be requested if they continue to be optional? (The TDS currently accepts a query parameter,
dap4.checksum=true
, which will cause it to provide checksums for variables.The narrative about checksums says:
Which could be restated as:
The text was updated successfully, but these errors were encountered: