gRPC是一个高性能、通用的开源RPC框架,其由Google主要面向移动应用开发并基于HTTP/2协议标准而设计,基于ProtoBuf(Protocol Buffers)序列化协议开发,且支持众多开发语言。 下面我们就从 HTTP2、ProtoBuf 3、 Nginx、gRPC 的角度看他们的 Ro...
分类:
其他好文 时间:
2015-07-19 23:10:41
阅读次数:
273
最近玩了玩谷歌的Protocol Buffer,下面就简单介绍下
Google Protocol Buffer( 简称 Protobuf) 是 Google 公司内部的混合语言数据标准,目前已经正在使用的有超过 48,162 种报文格式定义和超过12,183 个.proto 文件,他们用于RPC 系统和持续数据存储系统。Protocol Buffers 是一种轻便高效的结构化数据存储格式,可以用...
分类:
其他好文 时间:
2015-07-14 20:34:26
阅读次数:
147
使用atom一段时间了,有些插件还不是很成熟。比如项目中使用protobuf,早就有人写了语法高亮(https://github.com/podgib/atom-protobuf),但是效果不是很好。于是决定自己写一个。 atom linux的配置目录在~/.atom下,里面有一个packag...
分类:
其他好文 时间:
2015-07-12 00:12:09
阅读次数:
991
配置linux基本环境: -->java、ip、hostname、hosts、iptables、chkconfig、ssh环境配置hadoop2.2安装在linux64位机器上,需要对源码进行编译: 首先安装google的protobuf yum install glibc-he...
分类:
其他好文 时间:
2015-07-11 08:59:52
阅读次数:
140
一、理论概述0、参考资料入门资料:https://developers.google.com/protocol-buffers/docs/javatutorial更详细的资料:For more detailed reference information, see the Protocol Buff...
分类:
其他好文 时间:
2015-07-10 22:10:01
阅读次数:
218
一、理论概述0、参考资料入门资料:https://developers.google.com/protocol-buffers/docs/javatutorial更详细的资料:For more detailed reference information, see the Protocol Buff...
分类:
其他好文 时间:
2015-07-10 11:05:32
阅读次数:
168
1.bool UpdateGameElement(const struct_game_element& ele, gs_dbs_user_info_op_req& db_req, ::google::protobuf::RepeatedPtrField& c_rep_game_ele, gs_c_m...
分类:
其他好文 时间:
2015-07-07 22:31:16
阅读次数:
160
这是一个简单的c#异步通讯的例子(只有客户端哦)C#异步通讯自定义数据头protobuf数据缓冲,解包代码伺候:usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
usingSystem.Net;
usingSystem.Net.Sockets;
usin..
http://blog.csdn.net/hguisu/article/details/20721109#0-tsina-1-1601-397232819ff9a47a7b7e80a40613cfe11. Protobuf简介 protobuf是google提供的一个开源序列化框架,类似于XML.....
分类:
其他好文 时间:
2015-07-06 23:21:17
阅读次数:
175
SocketClient.cpp#include "SocketClient.h"#include "ClientInfoSave.h"#include "serverMsg.pb.h"using namespace Message;string SocketClient::m_strHeatMsg...
分类:
其他好文 时间:
2015-07-02 07:38:24
阅读次数:
481