- 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.
- Data Visualization with D3 4.x Cookbook(Second Edition)
- Functional Programming in JavaScript
- Elasticsearch for Hadoop
- 軟件測試技術(shù)指南
- 0 bug:C/C++商用工程之道
- PHP 7從零基礎(chǔ)到項目實戰(zhàn)
- 區(qū)塊鏈國產(chǎn)化實踐指南:基于Fabric 2.0
- Learning Ionic
- LabVIEW數(shù)據(jù)采集
- Neo4j 3.x入門經(jīng)典
- Microsoft Exchange Server 2016 PowerShell Cookbook(Fourth Edition)
- 前端架構(gòu)設(shè)計
- 開源網(wǎng)絡(luò)地圖可視化:基于Leaflet的在線地圖開發(fā)
- Java無難事:詳解Java編程核心思想與技術(shù)(第2版)
- Spring Boot實戰(zhàn):從0開始動手搭建企業(yè)級項目