10:18:29 GMT Hi, I have a problem to get my head around a HA setup with redis 2.8. Given are 6 bare-metal servers, on 4x of them is the redis-server running, 1x master, 3x slaves, and 4x sentinels pointing to the master. on the other 2x bare-metal server is only sentinel running pointing to the master. If 1x server fails, failover is handled like a charm. Now the 6x bare-metal servers are in 2 separate racks. if 1x hole rack fails, so 3x of 6x bar 10:18:40 GMT hangs with "-failover-abort-not-elected". Is there any way around this? 12:30:07 GMT use an odd number of sentinels and make sure you have n/2+1 sentinels alive 13:53:36 GMT hi anybody using php -redis extension as connector for redis ? I mean no library just run-time php -redis extension. 13:54:49 GMT dudeji, have you a real question ? 13:55:35 GMT can i access redis cluster with php redis extension library or do i need to put some lib ? 13:57:07 GMT do you mean using the pecl redis extension ? 13:57:34 GMT IIRC version 3.1.x have cluster support (but is mostly broken...) 13:57:34 GMT yeah 13:59:26 GMT does pecl has stable master slave ? 14:03:21 GMT no idea 17:21:50 GMT Well, here goes nothing... is this the place to ask about best-practice suggestions on how to launch processes in a Linux environment on Redis key change detection? 17:22:51 GMT well, your question has the term redis in it, so i guess it's valid? :D 17:23:02 GMT :) 17:24:51 GMT As a more specific example of what I'm after: I'd like to run a process (as root, to copy a file) when a redis key changes value. Not sure what the best approach is, considering it involves root. 17:25:28 GMT maybe you can do without root 17:25:47 GMT but that doesn't change the implementation 17:27:06 GMT enable keyspace notifications and write a python (or whatever) script to subscribe to the respective keyspace event, then copy the whatever file you need to copy 17:27:20 GMT that's max. 10 lines of code 17:27:29 GMT obviously that script has to be running all the time 17:28:19 GMT redis itself can't execute things, for the record 17:28:28 GMT Understood, and am able. Unfortunately it does require root, as the file to be copied is only accessible by root. 17:29:23 GMT I guess the answer is that I will run the script as root. 17:29:31 GMT Thank you. 17:29:32 GMT Yep 17:30:00 GMT BTW: redis rules! :) 17:30:07 GMT Just make sure that input from redis can't be used to write arbitrary files 17:30:34 GMT (redis key names can contain any characters) 17:30:48 GMT Got it. It is a very specific-purpose script, so there is no chance of that. Thank you for your time! 17:30:57 GMT (even null bytes) 17:31:08 GMT You're welcome 19:39:59 GMT Is Redis useful for AI, machine learning, etc...? 19:41:44 GMT Hello? 19:42:02 GMT Is Redis useful for AI, machine learning, etc...? 19:42:15 GMT Hello! You have reached the CNN-based help-bot powered by Redis. How may I help you? 19:42:37 GMT Redis is a key-value storage with some added functionality 19:42:38 GMT minus,Is Redis useful for AI, machine learning, etc...? 19:42:57 GMT minus, so is it? 19:43:31 GMT just kidding, no, it's just a key value store, but you can build things on top of it 19:43:37 GMT if it's suited for AI stuff i can't say 19:43:58 GMT antirez did an experiment with neural networks https://github.com/antirez/neural-redis 19:44:05 GMT but that's about all, i think 19:44:08 GMT minus, where Redis is interesting? 19:44:30 GMT it's a cache primarily, like memcached 19:44:54 GMT minus, only useful for webistes or also desktop apps? 19:45:18 GMT you need to a run a server, so maybe less so for desktop apps 19:45:32 GMT Hi everyone! I can't find information about which operations updates the last-access-time of a key (used by LRU). Just the writes? Reads and writes? 19:46:12 GMT hgdeoro: iirc DEBUG OBJECT gave some info on that 19:46:49 GMT minus, what are the relationsheeps between Lua and Redis? 19:47:20 GMT redis can run small lua scripts as transactions (limited runtime; blocks all other operations) 19:47:34 GMT thanks minus, I'll check that right now 19:47:45 GMT minus, where can redis be useful? 19:48:02 GMT that's up to you to find out 19:48:28 GMT minus, :) did you notice the "relationsheep"? 19:48:52 GMT i did not 19:49:16 GMT It was just a GAG 19:50:07 GMT minus, do you want to hear the story :) ? My DB teacher pronounces relationship as relationsheep 19:50:12 GMT he is not english native 19:50:57 GMT minus, funny! 19:51:04 GMT It is funny, right? 19:52:45 GMT it's basically racist 19:53:48 GMT Habbie, why?