00:24:09 GMT I want to migrate from redis on some ec2 instance to elasticache hosted redis, ha/multi-az etc 00:24:38 GMT My elasticache setup is up, how can I copy my redis data from data.rdb on this ec2 instnace to this elasticache setup? 06:41:20 GMT where is here 06:44:42 GMT who 06:44:46 GMT whois 08:55:54 GMT Hi! Super noob question: I just install redis using homebrew --- I plan on using it with php - resqueue. My question is whether I need to start redis everytime I use it and whether I need to stop it when I don't. 09:02:40 GMT Anyone? 09:17:42 GMT Hey people 09:18:01 GMT I have a 20GB dump.rdb that causes redis to crash each time it starts 09:18:10 GMT I want to split it into two 09:18:17 GMT How can I achieve that? 10:11:21 GMT Hi there 10:11:32 GMT I'm using Redis as a cache storage 10:12:13 GMT I'm doing some processing task on an other server 10:12:44 GMT I want to copy some keys that are matching pattern to an other redis server; Do you have any idea about how to do this ? 10:13:14 GMT I was thinking about DUMP keys* > file.data & cat file.data | RESTORE 10:13:26 GMT but.. It's not the right solution 12:25:56 GMT hi guyz; internet connection was closed.. 12:26:18 GMT Do you have any clue about copying some keys using pattern to an other Redis instance ? 15:45:46 GMT I'm trying to copy keys to an other server using the following bash line 15:45:48 GMT redis-cli --raw keys coo* | xargs -n 1 -I % sh -c '{ redis-cli SET "copy%" "$(redis-cli GET %)"; }' 15:46:03 GMT (right now, i'm dealing with the same server using dedicated prefix) 15:46:33 GMT but, after operation processed; I didn't get the exact same value between the origin & copied version. 15:48:39 GMT but, after operation processed; I didn't get the exact same value between the origin & copied version. The origin version contains some \x000 whitch is "null" 15:48:52 GMT and the copied value drop the "null" version. Why ? 15:50:29 GMT that looks awful :) 16:35:52 GMT can i search a redis list by keyname? 16:40:15 GMT nacsurte: Don't think so. You can on sets and hashes, but I don't afaik there's no lscan 16:40:51 GMT (and it seems legit based on the nature of this data structure) 16:41:20 GMT ah i see 16:41:22 GMT thanks ahfeel_ 16:43:11 GMT yw :) 17:09:24 GMT armetiz: DUMP&RESTORE should be fine if it's the same version of redis. you should probably use some proper programming language to move stuff over though. easiest way would be to just use the slave mechanism 19:06:53 GMT do you think it'd be possible to have the docs auto-deploy on the website, badboy_? 19:08:21 GMT I don't do the website 19:08:40 GMT fair point 19:08:55 GMT I have no control over it, if I'd had it would already auto-deploy (if tests green :P) 19:09:24 GMT any favorite tool for doing so? 19:09:41 GMT the docs only need to be checked out afaik 19:09:46 GMT so ... a bash script?^^ 19:09:55 GMT or ansible if you want to be sure it does the right thing 19:09:58 GMT oh right, no static content 19:10:12 GMT (that has to be generated) 19:10:45 GMT ansible is nice, although it has its pain points 19:11:05 GMT it does 19:25:55 GMT really odd thing happening here, using set my value stored ends up being [val, null] instead of just the value. im using Yii's redis module 19:26:57 GMT i'll do a set(key, 'wtf') and get ["wtf", null] 19:28:30 GMT setting from the cli works obviously 19:28:46 GMT doing a get from cli after a set from my app, i get "a:2:{i:0;s:3:\"wtf\";i:1;N;}" 19:31:45 GMT PHP is your problem :) 19:33:05 GMT oh cool, brb rewriting my entire application in node 19:33:10 GMT for real, what the hell is going on? 19:33:11 GMT it's still weird tho 19:33:39 GMT i'd suggest stepping through the set call 19:33:48 GMT it must build that list somewhere 19:33:59 GMT also, node isn't much better 19:34:01 GMT yeah im seeing it's coming from yii 19:34:06 GMT i was kidding, id choose GO or python 19:34:42 GMT that's neither here nor there. it looks like it's something to do with Yii's driver, but get's still work normally if you also go through yii, but when i try to use incr, i cant obviously 19:35:17 GMT wow why isn't this included in the standard redis class? http://www.yiiframework.com/extension/yii2-redis-counter/ 19:35:20 GMT if you set something through redis-cli you can get it in php? 19:35:21 GMT it's a freaking extension 19:35:29 GMT havent tried that 19:35:43 GMT i'd assume it fails when trying to deserialize the data 19:35:51 GMT probably 19:36:54 GMT you can probably set your own serializer and deserializer and it just defaults to a non-plaintext one 19:37:50 GMT super useful if you need object mapping or so, but annoying if you just need low-level redis commands. 19:38:25 GMT yeah im just gonna be lazy and get, increment, then set heh 21:16:50 GMT Is it possible for a connected client to have multiple pubsub channels? 21:17:04 GMT Or one client is allowed to open one channel? 23:21:56 GMT can someone settle an argument with a collegue? 23:22:03 GMT how do you pronounce 'redis' 23:22:23 GMT i'll split the winnings with whomever ;)