Apache Thrift

From NovaOrdis Knowledge Base
Revision as of 20:13, 4 October 2023 by Ovidiu (talk | contribs) (→‎Internal)
Jump to navigation Jump to search

Internal

Overview

Apache Thrift is a combination of serialization format and communication protocol. It can be used for both defining data types and sending data between services.

Unlike JSON or XML, Thrift requires to define the data formats first. Once the data format is defined, a code generator is used to generate code that would contain the defined structures and logic to encode and decode it.