
redis
rolin-刘瑞
技术GEEK
展开
-
redis配置文件详解
#是否以后台进程运行,默认为nodaemonize yes#如以后台进程运行,则需指定一个pid,默认为/var/run/redis.pidpidfile d:/redis/var/redis.pid#监听端口,默认为6379port 6379#绑定主机IP,默认值为127.0.0.1(注释)# bind 127.0.0.1#超时时间,默认为300(秒)(0 to原创 2015-01-23 10:20:28 · 6869 阅读 · 0 评论 -
redis入门到精通
下载安装下载地址:$ wget http://redis.googlecode.com/files/redis-2.6.13.tar.gzlinux下:解压到指定目录make 32bit / makemake install prefix=/usr/local/redis安装成功 windows免安装: 参数介绍: make install命令执原创 2015-01-23 20:55:45 · 7349 阅读 · 0 评论 -
redis client 2.0.0 pipeline 的list的rpop bug
描述:redis client 2.0.0 pipeline 的list的rpop 存在严重bug,rpop list的时候,如果list已经为空的时候,rpop出来的Response依然不为null,导致吊response.get()方法抛异常代码:@Test public void testRedisPipeline(){ Jedis jedis = null;原创 2015-03-18 10:20:36 · 7787 阅读 · 0 评论 -
redis bitmap 入门
1.简介bigmap是通过类似map结构存放0或1(bit 位)作为值,一般用来统计状态.如:日活,是否浏览过某个东西2.setbitredis 127.0.0.1:6379> help setbit SETBIT key offset value summary: Sets or clears the bit at offset in the stri原创 2015-05-20 11:27:47 · 10092 阅读 · 0 评论