Published 15 October 2018

Benefits of using Apache Thrift

Benefits of using Apache Thrift

Advantages and reasons for using Thrift on the Credits platform:

  1. Cross-language serialization with lower overheads, in contrast to such alternatives as SOAP, due to the use of a binary format.
  2. A simple and clean library. Does not need a code framework. Does not use the XML configuration.
  3. Language bindings are felt natural. For example, Java uses the ArrayList <String>. C++ uses std::vector<std::string>.
  4. The application-level communication format and the serialization level communication format are strictly separated. They can be changed independently of each other.
  5. Embedded types of serialization include: binary, HTTP-friendly and compact binary.
  6. It assembles like a cross-language serialized file.
  7. Soft version of the protocol. Thrift does not require a centralized and explicit mechanism, as do major-versions / minor-versions. Loosely coupled groups can freely switch to RPC calls.
  8. It does not depend on architecture or non-standard software. There are no incompatible software licenses.
  9. Use of the company's clients in the future with their favorite programming languages.
0 Useful article

Contents