[development][thrift] RPC框架 thrift

 

一:

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

二:

来自IBM的介绍:https://www.ibm.com/developerworks/cn/java/j-lo-apachethrift/

都是框架原理,不适合快速上手应用。

摘要:

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

目前流行的服务调用方式有很多种,例如基于 SOAP 消息格式的 Web Service,基于 JSON 消息格式的 RESTful 服务等。

 

三: tutorial

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

很奇怪,还有一个tutorial从官网链接不到:http://thrift-tutorial.readthedocs.io/en/latest/intro.html

 

摘要:

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

 

转载于:https://www.cnblogs.com/hugetong/p/8824021.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值