10:20:53 GMT hey all 10:21:44 GMT it's so quiet today on irc... I'm trying to brag about the progress I've done in http://github.com/KingDuckZ/tawashi but nobody seems to be around 10:21:57 GMT I've made* 10:32:17 GMT King_DuckZ, still, I'd like to congratulate you :) 10:32:22 GMT and please keep up the good work 10:51:39 GMT colo-work: lol thank... I guess :D 10:52:11 GMT if you try it and have suggestions or feedback, I'm very interested in hearing back 10:53:30 GMT I know I'll get rid of all the to-and-fro communication with redis by offloading work to a lua script, that's not going to happen soon but it's an improvement I have in mind already... there surely are others I didn't think of yet, tho 13:15:23 GMT hello, I've been messing around with Keyspace Notifications, specifially on SET commands on a small amount of data and only a few subscribers. Everything is going great so far. However, im wondering if anyone has experience with Keyspace Notifications and replication? 13:20:11 GMT i think it works on slaves too, but that's trivial to try anyway: redis-server --slave-of '127.0.0.0 6379' --port 6380 --save '' 13:20:19 GMT ^ nowashburn 13:23:42 GMT minus, thanks. I guess im just moreso wondering about timing. like suppose I have three servers (one master + two slaves) and and handful of apps listening for changes on a particular key, then getting the updated value, some from the slaves. would redis ensure that the slaves have been updated before broadcasting the update message? 13:24:53 GMT pretty sure it does keep the order 13:25:40 GMT it might even be possible that you have to explicitly enable keyspace notifications on the slave and that the slave instance then handles the notifications independently from replication 13:26:34 GMT i see, very good point. thanks again 16:08:22 GMT so if i have PHP configured to use redis for sessions, how would i grab info on current sessions from an IP 16:11:04 GMT or would i have to know the namespace and variable for the app that records it beforehand i guess? 16:18:01 GMT catbeard: you'd probably have to know the session id. if the session data contains the ip you could scan over all sessions and look for that 16:18:56 GMT is there some redis-fu for key scanning with regex? 16:19:31 GMT and how a php session might be formatted as a key 16:19:36 GMT KEYS supports wildcards 16:19:48 GMT SCAN if you don't want everything at once 16:19:56 GMT see the website for more details 16:20:21 GMT you can use those commands from redis-cli 16:24:06 GMT cool 18:39:30 GMT i'm considering redis to store a set of semi-static data. by semi-static i mean a new version of the dataset would be uploaded infrequently (monthly, for us). 18:39:58 GMT does redis provide any features to make it easy to separate or namespace each version of the data set, then allow an old version to be deleted easily? 18:41:16 GMT you can use different databases for that and wipe those individually 18:41:26 GMT and from 4.0 on you can even swap them 18:41:57 GMT thanks 18:42:12 GMT i just found this command in the docs https://redis.io/commands/flushdb 18:47:07 GMT does redis have a limit to the number of databases you can use? 18:47:10 GMT i can't find it in the docs 18:47:31 GMT i see they're referenced by an integer ID 18:47:51 GMT yes, the limit is configured in the config