Thrift (protocol)

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search
Apache Thrift
Developer(s) Apache Software Foundation
Stable release Apache Incubator / May 9, 2008; 393423778 ago
Type remote procedure call framework
License Apache License 2.0

Thrift is a remote procedure call framework developed at Facebook for "scalable cross-language services development". It combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, C#, Java, Perl, Python, PHP, Erlang and Ruby. Although developed at Facebook, it is now an open source project in the Apache Software Foundation Incubator. The implementation was described in an April 2007 technical paper released by Facebook.


Some stated benefits of Thrift include:

  • Cross-language serialization with allegedly lower overhead than alternatives such as SOAP[citation needed]
  • A lean and clean library. No framework to code to. No XML configuration files.
  • The language bindings feel natural. For example Java uses ArrayList<String>. C++ uses std::vector<std::string>.
  • The application-level wire format and the serialization-level wire format are cleanly separated. They can be modified independently.
  • The predefined serialization styles include: binary, HTTP-friendly and compact binary.
  • Doubles as cross-language file serialization.
  • Soft versioning of the protocol. Thrift does not require a centralized and explicit mechanism like major-version/minor-version. Loosely coupled teams can freely evolve RPC calls.
  • Extendable through Caml web services.
  • No build dependencies or non-standard software. No mix of incompatible software licenses.

See also

External links

ja:Thrift (プロトコル)

Personal tools

Served in 0.811 secs.