RPC工具:Thrift与ProtocolBuffer

来源:互联网 发布:一切用数据说话啥意思 编辑:程序博客网 时间:2024/06/01 21:15

RPC(Remote Procedure Call——远程过程调用)两大工具:Thrift与ProtocolBuffer

关于这两个的概念与用法,我也就不自己多说了,列出个人认为比较好的资料如下

Thrift:

Thrift框架介绍  http://dongxicheng.org/search-engine/thrift-framework-intro/
Thrift使用指南 http://dongxicheng.org/search-engine/thrift-guide/
使用Thrift RPC编写程序 http://dongxicheng.org/search-engine/search-engine/thrift-rpc/ (内有与ProtocolBuffer的比较)
thrift使用小记 http://blog.chinaunix.net/uid-20357359-id-2876170.html

Protocol Buffer:

http://www.ibm.com/developerworks/cn/linux/l-cn-gpb/?ca=drs-tp4608

个人使用总结如下

1. 使用Thrift实现异步调用

见此贴:http://blog.csdn.net/zlzlei/article/details/8500106

原创粉丝点击