Commit 2e83477
authored
Refactor wire schema format (#121)
Resolves #52
Resolves #87
Resolves #119
- Refactored wire schema format to reduce its size.
The size went from 184 bytes to 16 bytes for Otel/STEF Metrics.
See specification.md for the description of the new format.
This is important if in the future we decide to add a stateless
network protocol where the size of the schema on the wire is
important since it is repeated for every payload.
- Added new randomized tests that verify writing/reading STEF streams
with overridden schema (narrowed schema than generated) to
ensure the new wire schema format works correctly.
- The new tests found several bugs in codecs that needed to be fixed.
There is no measurable change in performance, verified by
running the benchmarks.1 parent 5ad5afe commit 2e83477
File tree
172 files changed
+5757
-3903
lines changed- examples
- jsonl/internal/jsonstef
- profile/internal/profile
- go
- grpc
- testdata
- otel
- oteltef
- pkg
- idl
- testdata
- schema
- testdata
- java/src
- main/java
- com/example/oteltef
- net/stef/schema
- test/java/net/stef/schema
- stef-spec
- stefgen
- generator
- testdata
- templates
- go
- java
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
172 files changed
+5757
-3903
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments