ecs连接rds for redis生成测试数据
通过ecs连接rds for redis,Redis4.0有账号概念了生成测试数据[root@iZbp17cxmmtvxsnw4udl2fZ ~]# cat redis.sh str='http://java.oracle/mysql/redis/mongo/python/mpp/mgr/gcsfjsofuufw8r0wr8we0riw0riea
redis redis中的hash结构【八】
点击(此处)折叠或打开
redis 简单命令的应用-位图法统计用户登陆【五】
<strong>情景:一亿个用户,用户有活跃用户,不活跃用户,如何来记录用户的登陆信息,如何来查询活跃用户,比如一周内登陆5次的用户。<br /><br />1/0 登陆表示1,没登录表示0,用bit表示即可。<br /><img src="/attachment/201508/19/29990276_1439961007TvvP.bmp" width="700" height="352.70618556701" alt="" /><br ...
redis list链表结构及命令浅谈【四】
<img src="/attachment/201508/19/29990276_1439951031i3Gz.bmp" width="700" height="181.44963144963" alt="" /><br /><br /><strong><span style="color:#4C33E5;">lpush/rpush:lpush从链表左边插入,rpush从链表右边插入<br /><br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;co...
redis string结构及命令详解【三】
在key设置之处就有生命周期:set key value [ex 秒]/[px 毫秒] set key value [nx]/[xx] nx:表示key不存在时执行操作(NOT EXIST)xx:表示key存在时执行操作点击(
redis 通用key操作命令简谈【二】
<img src="/attachment/201508/17/29990276_14397929130iHD.jpg" width="700" height="199.88974641676" alt="" /><br /><strong>点开,我们开redis的数据结构和命令<br /></strong><br /><img src="/attachment/201508/17/29990276_1439793066zxNG.jpg" width="700" height="178.18181818182" alt="" /><br /><br />...
redis 介绍及安装【一】
<strong><strong style="white-space:normal;"><span style="font-size:14px;">redis官网:http://redis.io/</span></strong><br /><br /><span style="color:#333333;font-family:'Open Sans', Helvetica, sans-serif;font-size:20px;line-height:32px;white-space:normal;background-color:#FFFFFF;">Redis is an open ...