[development][thrift] RPC框架 thrift

 

一:html

wiki:https://zh.wikipedia.org/wiki/Thriftjava

二:apache

來自IBM的介紹:https://www.ibm.com/developerworks/cn/java/j-lo-apachethrift/框架

都是框架原理,不適合快速上手應用。spa

摘要:設計

  1: thritf 即不是 SOAP,也不是JSON。code

目前流行的服務調用方式有不少種,例如基於 SOAP 消息格式的 Web Service,基於 JSON 消息格式的 RESTful 服務等。

 

三: tutorialhtm

https://thrift.apache.org/tutorial/blog

很奇怪,還有一個tutorial從官網連接不到:http://thrift-tutorial.readthedocs.io/en/latest/intro.htmlip

 

摘要:

Thrift was originally developed by Facebook and now it is open sourced as an Apache project. 

 

開發動因,以及設計時的思路選擇:

http://thrift.apache.org/static/files/thrift-20070401.pdf

在設計上,分類爲五個方面的問題: type, transport, protocol, versioning, processors.  

 

 

四:例子

  一個C++的例子,網頁裏的thrift文件的連接壞掉了,thrift文件能夠在源碼裏找到。

  https://thrift.apache.org/tutorial/cpp

相關文章
相關標籤/搜索