The Apache Thrift software framework is used for cross-language services development. It is bundled with a code generation engine to build services that work seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, JavaScript, Node.js, Smalltalk, OCaml, Delphi, and other languages.
Tip
Get started with the Apache Thrift installation and working example at https://thrift.apache.org/.
After the Thrift compiler is installed, create a thrift
file. This file is an interface definition (ID) made up of Thrift types and services. The services defined in the ID file are implemented by the server and are called by any clients. The Thrift compiler is used to convert the thrift
File into source code which is used by the different client libraries and the server.