Redis
文章平均质量分 50
JasonYao
从事java开发3年。熟悉WAS MQ JMS SOA
展开
-
Install Redis on Ubuntu
Aliyun Ubuntucd / mkdir redis cd redis wget http://download.redis.io/releases/redis-3.0.5.tar.gz tar zxvf redis-3.0.5.tar.gz cd redis-3.0.5 make #a src folder will created under folder redis-3.0.5 mkdi原创 2015-11-05 08:38:46 · 646 阅读 · 0 评论 -
Tag system implementation
Use RDBMSGive below 2 tables: Table: BOOK BOOK_ID BOOK_NAME AUTHOR 1 JAVA JASON 2 RUBY JASON 3 PYTHON JASON 4 PHP JASON 5 OBJECTIVE-C JASON 6 SWIFT JASON Table原创 2015-11-24 15:15:02 · 472 阅读 · 0 评论 -
Limit the attempted login times
redis-cli 127.0.0.1:6379> set user_info;;user_id;;login_times 0 #when attmpt to login 127.0.0.1:6379> incrby user_info;;user_Id;;login_times 1Created with Raphaël 2.1.0StartInput username/passwordAttem原创 2015-11-20 12:04:15 · 516 阅读 · 0 评论 -
Redis微博推的实现
Set the latest blog id to Redis. Created with Raphaël 2.1.0Load Personal Home PageGet Blog IDs from RedisGet Detail from DB via Blog IDsRender Page原创 2015-11-06 16:24:30 · 1372 阅读 · 0 评论 -
Blog follow/unfollow implementation
Assume there are below users: USER_ID USER_NAME 1 JASON 2 TONY 3 TOM 4 TIM 5 RUBY 6 PYTHON The following relationship show below: USER_ID FOLLOW_USER_ID 1 2 1 5原创 2015-11-25 20:14:36 · 609 阅读 · 0 评论 -
Redis cluster in a single machine
Environment OS: Linux Redis: redis-3.0.5 Steps Install redis Please refer to https://blog.csdn.net/yaominhua/article/details/49657923 Create folders cd /home/jason/redis/ mkdir cluster-...原创 2018-08-30 23:23:26 · 177 阅读 · 0 评论