Slide 2
Slide 2 text
Th30z
{code}
YAJBE is a compact binary data format
built to be a drop-in replacement for JSON
(JavaScript Object Notation).
What is YAJBE?
Motivations
[
{“name”: …, “surname”: …, “age”: …},
{“name”: …, “surname”: …, “age”: …},
{“name”: …, “surname”: …, “age”: …},
]
We have a lot of services exchanging or storing data using JSON,
and most of them don't want to switch to a data format that requires a schema.
We wanted to remove the overhead of the JSON format (especially field names),
but keeping the same data model flexibility (numbers, strings, arrays, maps/objects,
and a few values such as false, true, and null).
fieldNamesSpaceUsed = len(“name”) + len(“surname”) + len(“age”);
fieldNamesOverhead = (nRows - 1) * fieldNamesSpaceUsed