12 2016 档案

GRpc-Go使用笔记
摘要:linux下配置GRpc-golang 1、git中下载protobuf包 2、解压(/usr/local/protobuf) unzip protobuf-cpp-3.0.0-alpha-3.zip 3、进入解压后的目录 cd protobuf/ 4、编译安装 ./configure make & 阅读全文

posted @ 2016-12-13 13:38 李军浩 阅读(1758) 评论(0) 推荐(0)

GRpc-Proto3语法
摘要:SPEED (default): The protocol buffer compiler will generate code for serializing, parsing, and performing other common operations on your message type 阅读全文

posted @ 2016-12-13 13:37 李军浩 阅读(15014) 评论(0) 推荐(1)

常规RPC通讯过程【转载】
摘要:在 HTTP2 协议正式开始工作前, 如果已经知道服务器是 HTTP2 的服务器, 通讯流程如下: gRPC Helloworld 的例子完整的数据包依次如下: 来自Wireshark 的内容。 可以看到 18 开始才是正常请求的包。 常规RPC的交互流程: 可以看到 18 开始才是正常请求的包。 阅读全文

posted @ 2016-12-06 15:59 李军浩 阅读(362) 评论(0) 推荐(0)

导航