#redis
17 catatan
134 view
Fri, 13 Feb 2015 8:28 am
Sat, 10 Jan 2015 7:16 pm
What a lucky idea,... data blog tetap di backup di #mongodb, so walaupun #redis crash, tetap ada datanya ... #alhamdulillah yah
Sat, 29 Nov 2014 6:27 pm
Tue, 2 Sep 2014 4:57 pm
Last login: Tue Sep 2 07:54:03 2014 from 10.29.254.123 luqman@dtk-app01:~$ redis-cli redis 127.0.0.1:6379> zrange sms (error) ERR wrong number of arguments for 'zrange' command redis 127.0.0.1:6379> zrange sms 0 1 1) "test" redis 127.0.0.1:6379> zrange sms 0 1 withscores 1) "test" 2) "47" redis 127.0.0.1:6379> zset sms test 1 (error) ERR unknown command 'zset' redis 127.0.0.1:6379> zadd sms test 1 (error) ERR value is not a double redis 127.0.0.1:6379> zadd sms 1 test (integer) 0 redis 127.0.0.1:6379> zrange sms 0 1 withscores 1) "test" 2) "1" redis 127.0.0.1:6379> zadd sms 201406782 test (integer) 0 redis 127.0.0.1:6379> zrange sms 0 1 withscores 1) "test" 2) "201406782"#redis
Sun, 15 Jun 2014 4:22 am
Mon, 2 Jun 2014 5:20 pm
#todo_next : migrasi query tag dari #mongodb ke #redis ... look like a little challange... ahahaha... #takaburkumat
Mon, 2 Jun 2014 5:17 pm
Mon, 2 Jun 2014 11:03 am
ini query #redis nya
app.get('/page/:page', function(req, res, next) { var blog, page = parseInt(req.params['page']), show = 9, start = (page * show) - show; client.zrevrangebyscore(['blog:posttime','+inf','-inf','LIMIT',start,show], function(err, response){ var multi = client.multi(); for(var a in response){ var key = "blog:content:" + response[a]; multi.hgetall(key); } multi.exec(function(err, replies){ console.log(replies); res.send(replies); }); }); });
Mon, 2 Jun 2014 11:00 am
Mon, 2 Jun 2014 10:48 am
webkoe's stream now using redis --- 22/01/2020 --- webkoe meninggalkan redis karena sangat membebani RAM #redis #webkoe #missioncompleted
Sun, 1 Jun 2014 8:50 pm
#redis node stag di multi, ada solusi baru dengan #redis-stream... lets's check it out...
Sat, 31 May 2014 6:27 pm
Sat, 31 May 2014 8:54 am
ambil data dari #redis untuk dipass ke browser ternyata lumayan ribet... belum familier dengan asyncronous nya #javascript
Fri, 30 May 2014 3:51 pm
tanpa pengecekkan ada tidaknya variable, hash di #redis bisa langsung diset dengan
hincrby aim like 10
Thu, 10 Apr 2014 7:29 am
LOG store at Redis ... :) no more write file or mysql for LOG ... XD
#redis