Skip to content

Custom data types and schemas? #91

Answered by JEnoch
andrew-otiv asked this question in Q&A
Discussion options

You must be logged in to vote

Since the very beginning of "what would become Zenoh" (was named Yaks for the record), it was decided to not tie the protocol and the API to any data encoding. Amongst the reasons were:

  • Give the user the freedom to pick the data encoding that best suits his use case. Some might need self-descriptive encodings (such as JSON), while some would like more wire-efficient encodings (such as Protobuf or DDS' CDR)
  • Support storages such as no-SQL databases (or filesystem) that could store heterogeneous data representations, without the need to transcode, as that's complex to implement and has impact on performances
  • Keep the APIs more lightweight, not embedding serialization/deserialization code -…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by andrew-otiv
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants