论文标题

与JSON兼容二元序列化规范的调查

A Survey of JSON-compatible Binary Serialization Specifications

论文作者

Viotti, Juan Cruz, Kinderkhedia, Mital

论文摘要

在本文中,我们介绍了最新的进步,该进步强调了与JSON兼容二进制序列化规范的特征。我们通过涵盖从1960年代到2000年代及以后的多年来二元序列化规范的历史和演变来激励讨论。我们分析了整个行业中最流行的序列化规范的用例。利用架构驱动的(ASN.1,Apache Avro,Microsoft Bond,Cap'n Proto,Flatbuffer,协议缓冲区和Apache Thrift)和无模式(Bson,Cbor,Cbor,Flexbuffers,MessagePack,Smile Pack,Smile和Ubjson)JSON兼容JSON兼容JSON与兼容的二元串联综合性,我们通过分析进行了分析,我们的内部分析。我们探索一组非标准化的二进制整数编码技术(锯齿形整数编码和Little Endian Base 128可变长度编码),这对于了解各种与JSON兼容JSON兼容的二进制序列化规范至关重要。我们系统地讨论了选择模式驱动和无模式的二进制序列化规范的历史,特征和序列化过程,并确定了在二进制序列化背景下与模式进化相关的挑战。通过反思性练习,我们解释了我们对兼容JSON兼容二元序列化规范的选择。本文旨在指导读者就模式驱动或无模式兼容的二进制序列化规范做出明智的决定。

In this paper, we present the recent advances that highlight the characteristics of JSON-compatible binary serialization specifications. We motivate the discussion by covering the history and evolution of binary serialization specifications across the years starting from 1960s to 2000s and onwards. We analyze the use cases of the most popular serialization specifications across the industries. Drawing on the schema-driven (ASN.1, Apache Avro, Microsoft Bond, Cap'n Proto, FlatBuffers, Protocol Buffers, and Apache Thrift) and schema-less (BSON, CBOR, FlexBuffers, MessagePack, Smile, and UBJSON) JSON-compatible binary serialization specifications, we compare and contrast their inner workings through our analysis. We explore a set of non-standardized binary integer encoding techniques (ZigZag integer encoding and Little Endian Base 128 variable-length integer encoding) that are essential to understand the various JSON-compatible binary serialization specifications. We systematically discuss the history, the characteristics, and the serialization processes of the selection of schema-driven and schema-less binary serialization specifications and we identify the challenges associated with schema evolution in the context of binary serialization. Through reflective exercise, we explain our observations of the selection of JSON-compatible binary serialization specifications. This paper aims to guide the reader to make informed decisions on the choice between schema-driven or schema-less JSON-compatible binary serialization specifications.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源