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

A serialization/deserialization mechanism that do not require a static definition of schema #206

Closed
zhangwei217245 opened this issue Jul 2, 2024 · 0 comments
Assignees
Labels
type: new feature Request for new feature
Milestone

Comments

@zhangwei217245
Copy link
Collaborator

zhangwei217245 commented Jul 2, 2024

A serialization/deserialization mechanism that do not require a static definition of schema

This mechanism should allow schema-free organization of data, and being able to provide serialization and deserialization to the dynamically formed structure.

This is going to be very useful for the dynamic aggregation/organization of heterogenous data, especially when there is a need to aggregate different type of querying result, to organize compound result of a request in a way that is not predefined.

Describe the solution you'd like

Logically, it is a big key-value format, and can be self-embedded, and inside, it has to be self-describing, meaning each element in it should contain the type/size information so that we know exactly how to parse the bytes.

Describe alternatives you've considered

Solutions that requires predefined schemas:

  1. the serde framework in mercury
  2. protobuf
  3. avro
  4. thrift serde

Solutions that does not require predefined schemas

  1. JSON (string, not compact)
  2. BSON (binary, compact, introduces external dependency)
  3. MessagePack (binary, compact, introduces external dependency)

Additional Information

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: new feature Request for new feature
Projects
None yet
Development

No branches or pull requests

1 participant