- Learning Apache Thrift
- Krzysztof Rakowski
- 219字
- 2021-07-23 14:55:40
When to choose Apache Thrift
When designing and developing applications that have to communicate with each other, one may go through the whole evolution process involving the solutions presented in the previous section. Many services start as a very limited tool, which works quite well with some simple custom protocol. But the data that needs to be transferred may become more and more complicated than the need for some format, such as JSON or XML appears JSON-RPC or XML-RPC may be then used.
As the service is growing and is exposed to more external applications, the need to standardize the architecture and proper documentation arises. In such cases, using web services based on SOAP and WSDL seems to be a proper idea. If your application's goal is to operate on collections of elements, RESTful API may be a good solution.
But there are situations where one needs to transfer binary data and provide flexibility for changing the definition of the services along with support for different platforms and languages; all this in an environment where high performance is crucial. In these cases, serialization and remote procedure call for frameworks such as Apache Avro, Protocol Buffers, and Apache Thrift. From these three, the last one offers the widest selection of serialization formats, and transports along with remote procedure call implementation.
- Docker and Kubernetes for Java Developers
- Java程序設計實戰教程
- PyTorch自動駕駛視覺感知算法實戰
- Python測試開發入門與實踐
- Wireshark Network Security
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- C語言程序設計案例式教程
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(高級進階篇)
- QGIS By Example
- OpenCV with Python By Example
- Spring技術內幕:深入解析Spring架構與設計原理(第2版)
- Apache Camel Developer's Cookbook
- 區塊鏈項目開發指南
- Node.js 6.x Blueprints
- 3ds Max 2018從入門到精通