Benchmarking JSON BinPack

11/23/2022
by   Juan Cruz Viotti, et al.
0

In this paper, we present benchmark results for a pre-production implementation of a novel serialization specification: JSON BinPack. JSON BinPack is a schema-driven and schema-less sequential binary serialization specification based on JSON Schema. It is rich in diverse encodings, and is developed to improve network performance and reduce the operational costs of Internet-based software systems. We present benchmark results for 27 JSON documents and for each plot, we show the schema-driven and schema-less serialization specifications that produce the smallest bit-strings. Through extensive plots and statistical comparisons, we show that JSON BinPack in schema-driven mode is as space-efficient or more space-efficient than every other serialization specification for the 27 documents under consideration. In comparison to JSON, JSON BinPack in schema-driven mode provides a median and average size reductions of 86.7 schema-less mode of the JSON BinPack binary serialization specification is as space-efficient or more space-efficient than every other schema-less serialization specification for the 27 documents under consideration. In comparison to JSON, JSON BinPack in schema-less mode provides a median and average size reductions of 30.6 considered schema-driven binary serialization specifications, JSON BinPack in schema-driven mode is space-efficient in comparison to best-case compressed JSON in terms of the median and average with size reductions of 76.1 66.8 jviotti/binary-json-size-benchmark on GitHub.

READ FULL TEXT
research
01/09/2022

A Benchmark of JSON-compatible Binary Serialization Specifications

We present a comprehensive benchmark of JSON-compatible binary serializa...
research
01/06/2022

A Survey of JSON-compatible Binary Serialization Specifications

In this paper, we present the recent advances that highlight the charact...
research
09/21/2022

Schema-Based Automata Determinization

We propose an algorithm for schema-based determinization of finite autom...
research
02/27/2022

Negation-Closure for JSON Schema

JSON Schema is an evolving standard for describing families of JSON docu...
research
04/30/2019

Learning Restricted Regular Expressions with Interleaving

The advantages for the presence of an XML schema for XML documents are n...
research
07/19/2021

An Empirical Study on the "Usage of Not" in Real-World JSON Schema Documents (Long Version)

In this paper, we study the usage of negation in JSON Schema data modeli...
research
11/28/2019

Type Safety with JSON Subschema

JSON is a popular data format used pervasively in web APIs, cloud comput...

Please sign up or login with your details

Forgot password? Click here to reset