Apache Thrift

From NovaOrdis Knowledge Base
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, 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.