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实现异步调用