最近玩了玩谷歌的Protocol Buffer,下面就简单介绍下
Google Protocol Buffer( 简称 Protobuf) 是 Google 公司内部的混合语言数据标准,目前已经正在使用的有超过 48,162 种报文格式定义和超过12,183 个.proto 文件,他们用于RPC 系统和持续数据存储系统。Protocol Buffers 是一种轻便高效的结构化数据存储格式,可以用...
分类:
其他好文 时间:
2015-07-14 20:34:26
阅读次数:
147
oracle的SGA:数据库的系统全局区,SGA主要由三部分构成:共享池、数据缓冲区、日志缓冲区。 共享池又由两部分构成:共享SQL区和数据字典缓冲区。 共享SQL区专门存放用户SQL命令,oracle使用最近最少使用等优先级算法来更新覆盖;数据字典缓冲区(library cache)存放数据库运行...
分类:
数据库 时间:
2015-07-14 15:17:16
阅读次数:
260
使用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
执行过程中的内存空间未释放时应用程序后,动态内存泄漏不再使用,因此,很可能导致应用程序的内存无线增长。泄露包含未对系统的资源的及时释放,比方句柄等。内存溢出即用户在对其数据缓冲区操作时。超过了其缓冲区的边界;尤其是对缓冲区写操作时,缓冲区的溢出非常可能导致程序的异常。一.内存泄露“知己知彼。方能百战...
分类:
其他好文 时间:
2015-07-09 13:10:50
阅读次数:
1831
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