摘要:
Autoconf和Automake使用 一、生成Makefile流程图 二、具体实例 执行命令顺序:autoscan; aclocal; autoconf; autoheader; automake --add-missing; ./configure; make; ./helloworld; 1、 阅读全文
摘要:
Ubuntu安装redis 一、下载安装 root@21ebdf03a086:/# apt-cache search redis root@21ebdf03a086:/# apt-get install redis-server a、redis配置文件:/etc/redis/redis.conf 一 阅读全文
摘要:
Redis架构设计 一、前言 Redis 是一个开源(BSD许可)的,内存中的数据结构存储系统,它可以用作数据库、缓存和消息中间件。 它支持多种类型的数据结构,如 字符串(strings), 散列(hashes), 列表(lists), 集合(sets), 有序集合(sorted sets) 与范围 阅读全文
摘要:
为redis分配新的端口 为redis分配一个8888端口,操作步骤如下:1、$REDIS_HOME/redis.conf重新复制一份,重命名为redis8888.conf。2、打开redis8888.conf配置文件,找到port 6379这行,把6379改为8888。3、把redis8888.c 阅读全文
摘要:
CAP原理和最终一致性 CAP原理和最终一致性(Eventually Consistency) 阅读全文
摘要:
一致性Hash算法 一致性Hash算法(Consistent Hash) 阅读全文
摘要:
分布式服务框架 Zookeeper Zookeeper系列 分布式服务框架 Zookeeper -- 管理分布式环境中的数据 阅读全文