Apache Thrift

From NovaOrdis Knowledge Base
Revision as of 23:10, 4 October 2023 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.