Apache Thrift: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Serialization")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=
* [[Serialization]]
* [[Serialization]]
=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, in form or remote procedure calls (RPCs).
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.

Latest revision as of 23:10, 4 October 2023

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, in form or remote procedure calls (RPCs).

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.