00:51:44 GMT hello -- is there a fork of Redis that can run with zram or compressed LZ4 memory? 10:51:15 GMT SITM: isn't zram fully transparent? 12:20:21 GMT hi , i am not able to find out redis-cli file inside src folder ? how can i start redis-server from source code ? 12:40:23 GMT hi 12:40:48 GMT what should i pick: first level key like "xyz_{id}" or hash "xyz" with key = id? 12:41:27 GMT i have a great answer for you: depends 13:06:47 GMT minus, well, here's some context: about 2-3k keys, object size is < 1kb (encoded json) 13:07:45 GMT naquad: it still depends 13:07:50 GMT on what? 13:07:56 GMT it comes down to how you want to access your data 13:08:08 GMT how ofter or ... ? 13:08:47 GMT do you always know the id? do you always need only one object? 13:09:14 GMT there were some experiments where putting it in hashes saves some memory 13:09:19 GMT but you would need to test that for yourself 13:14:22 GMT badboy_, i always know id, i always need only one object 13:26:37 GMT then xzy:{id} is the primary choice, and as badboy_ said hashes might help to save space (but only for a fix amount of them, refer the optimization manual) 13:26:42 GMT ^ naquad 13:26:48 GMT thanks 15:59:14 GMT hi, I've the following situation, I'm trying the subscribe to TTL notifications but I don't only what the notification but the actual key,value that have expired. is that possible? I haven't seen any mention of the being possible at https://redis.io/topics/notifications does anyone have done anything like this? 16:13:28 GMT cabezza: you do get the key in the notification but there is no way to get the value 16:14:21 GMT minus: I was afraid of that... thnks for your answer 18:43:22 GMT Hello everyone 18:44:36 GMT does anyone know how to set expiration on all the keys to a certain time ? 18:44:48 GMT expire all keys at 10am? 18:53:41 GMT go through all of them and expireata ? 18:53:43 GMT *expireat 18:54:46 GMT There's no single command to do that 19:56:09 GMT when using consul with redis, does this also support client side cert validation? 19:56:28 GMT even at the API layer 19:58:53 GMT Redis does not, I never used Consul, so I don't even know how those two technologies would interact with each other 19:59:25 GMT so the only way to achieve encryption at the API is spipe? 20:00:18 GMT in talking to Redis? yes, it needs an external service for encryption 20:00:32 GMT (vpn, ssh, spipe, stunnel, ...) 20:08:51 GMT hrm... 21:39:16 GMT hi, i'm looking for a way to keep state information external from an app which would mostly consist of writes and needs to be resilient 21:39:29 GMT would redis be a good choice for that? 21:39:45 GMT define resilient 21:39:53 GMT the only info I seem to be able to find on clustering only states a single write master 21:40:12 GMT so I can loose any redis node and the clients will be able to jump to another and continue writing their state 21:40:34 GMT clustering paritions the data between multiple instances, but there is no master-master replication 21:41:11 GMT both, cluster and sentinel, provide failover by promoting a slave to master 21:41:15 GMT ok, I dont need multi master just the ability to have a slave node become a master when the initial master disappears 21:41:21 GMT ahh ok 21:42:58 GMT cool, so in the config the 'slaveof' statement is that just so the host can initially find the current master or another node for discovery? 21:43:25 GMT yes 21:43:28 GMT ok cool 21:44:17 GMT keep in mind that redis is not ACID - incurring a node failure can very well lose a few writes 21:45:06 GMT yea thats ok, most of the time processes will be over writing the same values, its just so they know where they were if they are killed or the host they are on dies 21:45:49 GMT so when they are restarted they can continue, if they replay a couple of things its not the end of the world, also they would have to fail at exactly the same time as the redis node 21:46:16 GMT I can stop them being on the same physical node from config on the scheduler 22:13:13 GMT matt_: Redis on its own does not do the failover though! 22:13:17 GMT you need sentinel to do that 22:15:26 GMT badboy_: ok, where does that sit? on the same host as the client app? 22:15:33 GMT reverse proxy type of thing? 22:19:53 GMT you probably want 3 instances of Sentinel as well 22:19:57 GMT (at least 3) 22:20:02 GMT where to place them is up to you 22:20:16 GMT read up on: https://redis.io/topics/sentinel 22:20:25 GMT also: http://fnordig.de/2015/06/01/redis-sentinel-and-redis-cluster/ 22:21:06 GMT badboy_: ok cheers 22:21:13 GMT i got the redis nodes up :) 22:24:59 GMT humm kind of sounds like sentinel isn't a reverse proxy but an 'watching from the side' type of setup 22:28:11 GMT yes 22:43:06 GMT hm, any way to achieve encryption in redis for free?