[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

相关文章
相关标签/搜索