Apache Thrift: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 2: Line 2:
* [[Serialization]]
* [[Serialization]]
=Overview=
=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.
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.
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.