-
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
Eliminate the need to have struct and multimap names on the wire schema #24
Comments
tigrannajaryan
added a commit
that referenced
this issue
Jan 29, 2025
Contributes to #24 Don't require exact name match for Schema compatibility checks
tigrannajaryan
added a commit
that referenced
this issue
Jan 30, 2025
Contributes to #24 Don't require exact name match for Schema compatibility checks
tigrannajaryan
added a commit
that referenced
this issue
Jan 31, 2025
Contributes to #24 Don't require exact name match for Schema compatibility checks
tigrannajaryan
added a commit
that referenced
this issue
Feb 4, 2025
This decouples human-readable Schema that is in JSON format from WireSchema that is serialized in binary format for efficiency. WireSchema contains only the information that is necessary for wire compatibility checks. Resolves #24 (Note that we still need struct names for checks). Here are byte size comparisons between JSON and WIRE for the Otel/TEF schema with "Metrics" root: ``` JSON: 2976, zstd: 760 WIRE: 115, zstd: 113 ```
tigrannajaryan
added a commit
that referenced
this issue
Feb 4, 2025
This decouples human-readable Schema that is in JSON format from WireSchema that is serialized in binary format for efficiency. WireSchema contains only the information that is necessary for wire compatibility checks. Resolves #24 (Note that we still need struct names for checks). Here are byte size comparisons between JSON and WIRE for the Otel/TEF schema with "Metrics" root: ``` JSON: 2976, zstd: 760 WIRE: 115, zstd: 113 ```
tigrannajaryan
added a commit
that referenced
this issue
Feb 4, 2025
This decouples human-readable Schema that is in JSON format from WireSchema that is serialized in binary format for efficiency. WireSchema contains only the information that is necessary for wire compatibility checks. Resolves #24 (Note that we still need struct names for checks). Here are byte size comparisons between JSON and WIRE for the Otel/TEF schema with "Metrics" root: ``` JSON: 2976, zstd: 760 WIRE: 115, zstd: 113 ``` The following components were refactored to use WireSchema instead of Schema: - Generated Reader/Writer - Encoder/Decoders - gRPC client/server The Generator continues using JSON Schema as its input, however it now generates a WireSchema to be used in the generated code.
tigrannajaryan
added a commit
that referenced
this issue
Feb 6, 2025
This decouples human-readable Schema that is in JSON format from WireSchema that is serialized in binary format for efficiency. WireSchema contains only the information that is necessary for wire compatibility checks. Resolves #24 (Note that we still need struct names for checks). Here are byte size comparisons between JSON and WIRE for the Otel/TEF schema with "Metrics" root: ``` JSON: 2976, zstd: 760 WIRE: 115, zstd: 113 ``` The following components were refactored to use WireSchema instead of Schema: - Generated Reader/Writer - Encoder/Decoders - gRPC client/server The Generator continues using JSON Schema as its input, however it now generates a WireSchema to be used in the generated code.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should be possible to do schema compatibility checks without symbolic names. This should reduce wire size of schema which will help the cases with small STEF payloads.
The text was updated successfully, but these errors were encountered: