以下答案仅供参考,有错欢迎留言。 Chapter 7: Lighting...
分类:
其他好文 时间:
2016-05-13 04:40:36
阅读次数:
244
Chapter 8. Scaling Redis (Beyond a Single Instance)精彩的总在最后,终于来到这一章了!本章讲述通过多实例来进行水平扩展,重要的概念有:persistence, replication, partitioning。Persistence内存是临时的, 易失性存储, 为防止数据丢失, Redis提供了两种persistence的方法:Redis Data...
分类:
其他好文 时间:
2016-05-13 03:13:23
阅读次数:
115
笔记较为零散,都是自己不熟悉的知识点。
习题答案至于一个.cc 中,编译需要包含Chapter6.h头文件。 需要演示某一题直接修改 #define NUM***, 如运行6.23题为#define NUM623;
chapter 6
1、
形参初始化的机理与变量初始化一样。
当形参是引用类型时,它对应的实参被引用传递或者函数被传引用调用。
2、
const和实参
void fcn...
分类:
编程语言 时间:
2016-05-13 02:50:07
阅读次数:
209
Chapter 9. Redis Cluster and Redis Sentinel (Collective Intelligence)上一章介绍了复制,一个master可以对应一个或多个slave(replica), 在以下的情况下是够用的:
1. master有足够内存容纳所有key
2. 通过slave可以扩展读,解决网络吞吐量的问题
3. 允许停止master的维护窗口时间
4....
分类:
其他好文 时间:
2016-05-12 18:34:51
阅读次数:
316
ref:
1
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-porting-1.0.html
2
https://cgit.freedesktop.org/gstreamer/gstreamer/plain/docs/random/porting-to-1.0.txt...
分类:
其他好文 时间:
2016-05-12 17:21:07
阅读次数:
429
学习基于:http://tengine.taobao.org/book/chapter_02.html nginx是基于master和worker的多进程web服务器 对于web服务器,事件通常有三种类型:网络事件(用异步非阻塞解决),信号,定时器。 ...
分类:
其他好文 时间:
2016-05-11 21:35:34
阅读次数:
116
原文:https://redislabs.com/ebook/redis-in-action/part-2-core-concepts-2/chapter-5-using-redis-for-application-support/5-3-ip-to-city-and-country-lookup/ ...
分类:
其他好文 时间:
2016-05-11 13:09:37
阅读次数:
207
// 一维数组 // 定义方式:int [ ] 变量名 = new int [ n ]; // 初始化:int [ ] myArray = new int [ ] {1,2,3,4,5}; string [] weekdays = new string [] {"Sunday","Monday"," ...
分类:
编程语言 时间:
2016-05-11 01:04:24
阅读次数:
120
原文:https://redislabs.com/ebook/redis-in-action/part-2-core-concepts-2/chapter-5-using-redis-for-application-support/5-3-ip-to-city-and-country-lookup ...
分类:
其他好文 时间:
2016-05-10 23:18:46
阅读次数:
143