缓存(cached)是把读取过的数据保存起来,重新读取时若命中(找到需要的数据)就不要去读硬盘了,若没有命中就读硬盘。其中的数据会根据读取频率进行组织,把最频繁读取的内容放在最容易找到的位置,把不再读的内容不断往后排,直至从中删除。缓冲(buffers)是根据磁盘的读写设计的,把分散的写操作集中进行...
分类:
其他好文 时间:
2014-09-10 19:29:21
阅读次数:
274
运行在YARN平台上面的RPC。当前存在非常多的开源RPC框架,比较著名的有Thrift、Protocol Buffers 和 AVRO。他们均有两部分构成:对象序列化和远程过程调用。重要类:YarnRPCHadoopYarnRPCRpcFactoryProvider。RpcClientFact.....
分类:
其他好文 时间:
2014-09-10 17:16:50
阅读次数:
217
自定义一个View DrawLineDrawLine.h#import @protocol gridTouchDelete - (void)gridTouchColumn:(NSInteger)column touchRow:(NSInteger)row;@end@interface DrawLin...
分类:
移动开发 时间:
2014-09-10 15:38:50
阅读次数:
230
关于CACHE BUFFERS CHAINS描述
CACHE BUFFERS CHAINS latch is acquired when searching
for data blocks cached
in the buffer cache.
Since the Buffer cache is implemented as a
sum of chains...
分类:
其他好文 时间:
2014-09-10 14:13:40
阅读次数:
345
之前做过实验而未做记录,今天在生产坏境中再次遇到。现将整个操作过程记录如下,供以后参考使用:使用free-m查看现在swap的大小:[root@mcluster-alpha2-node2~]#free-mtotalusedfreesharedbufferscachedMem:48227478703560186228928-/+buffers/cache:1707931148Swap:59995138..
分类:
其他好文 时间:
2014-09-10 02:53:00
阅读次数:
187
Buffer overflows in user input dependent buffers have become one of the biggest security hazards on the internet and to modern computing in general. T...
分类:
其他好文 时间:
2014-09-09 19:58:59
阅读次数:
341
一.内存使用说明Free命令相对于top提供了更简洁的查看系统内存使用情况:[root@rac1~]#freetotalusedfreesharedbufferscachedMem:10351081008984261240124212413000-/+buffers/cache:471772563336Swap:20964728423201254152这里显示的单位是KB。在linux的内存分配机制中,优先..
分类:
系统相关 时间:
2014-09-09 13:34:09
阅读次数:
273
1 在CentOS上使用PHP的curl访问HTTPS页面时,出现错误“Protocol https not supported or disabled in libcurl”。表示curl未启用https,需要重新编译php所使用的curl库。cd curl-7.31.0./configure -...
分类:
其他好文 时间:
2014-09-09 11:26:08
阅读次数:
358
Internet,计算机网和分组交换 ????????什么是协议(protocol)?为计算机网络中进行数据交换而建立的规则、标准或约定的集合。 ????????面向终端的网络: ????????多个终端共享一台主机...
分类:
Web程序 时间:
2014-09-09 09:14:28
阅读次数:
255
int socket(int family, int type, int protocol); 该接口创建一个套接字family指定协议族(通常是AF_INET);type参数指定socket的类型:SOCK_STREAM、SOCK_DGRAM、SOCK_RAW;protocol通常赋值"0"。in...