<    April 2017    >
Su Mo Tu We Th Fr Sa  
                   1  
 2  3  4  5  6  7  8  
 9 10 11 12 13 14 15  
16 17 18 19 20 21 22  
23 24 25 26 27 28 29  
30
00:15 Sarevok joined
00:34 ScioMin joined
00:45 EyePulp joined
00:46 shinnya joined
00:53 pid1 joined
00:59 wlightning-fuel joined
01:09 wlightning-fuel joined
01:12 indi_ joined
01:19 <farsonic> ok, have python writing to my redis using walrus now
01:19 <farsonic> can I dump the contents of the db using the redis cli?
01:19 <farsonic> what to see what is happening as it is updated
01:19 wlightning-fuel joined
01:29 <farsonic> ah, worked it out
01:33 edvorg joined
02:09 edvorg joined
02:19 steeze joined
02:21 sector_0 joined
02:22 wlightning-fuel joined
02:25 etehtsea joined
02:26 EyePulp joined
02:31 edvorg joined
02:46 mbd joined
02:52 edvorg joined
02:56 mrgreenfur joined
03:02 steeze joined
03:04 edvorg joined
03:20 EyePulp joined
03:21 indi_ joined
03:21 indi_ joined
03:21 etehtsea joined
03:33 edvorg joined
03:37 wlightning-fuel joined
03:46 amosbird joined
03:58 amosbird joined
04:00 raspado joined
04:03 indi__ joined
04:06 hive-mind joined
04:06 hahuang62 joined
04:09 akkad_ joined
04:24 winteriscoming joined
04:27 RemiFedora joined
04:57 steeze joined
05:12 kejxp1993 joined
05:16 fakenerd joined
05:48 ppang joined
05:56 beni joined
06:42 timg__ joined
06:43 rendar joined
06:54 shesek joined
07:23 edge226 joined
07:29 edvorg joined
07:36 EyePulp joined
07:37 JohnnyRun joined
07:43 efphe joined
07:57 timg__ joined
08:10 rchavik joined
08:11 HelgeO joined
08:21 Dave_R joined
08:23 programmingcool joined
08:27 vchav joined
08:48 gfot joined
08:51 ppang_ joined
08:52 fakenerd joined
08:54 aep joined
08:57 aep left
08:59 Mr__Anderson joined
09:00 drbobbeaty joined
09:02 etehtsea joined
09:28 drbobbeaty joined
09:35 programmingcool joined
09:51 SkyRocknRoll joined
09:51 EyePulp joined
10:13 maxmatteo joined
10:14 mikecmpbll joined
10:20 farsonic joined
10:33 al-damiri joined
10:34 elukey left
10:44 ppang_ joined
11:10 parazyd joined
11:11 parazyd joined
11:13 rchavik joined
11:17 maxmatteo joined
11:17 drbobbeaty joined
11:20 parazyd joined
11:20 parazyd joined
11:47 winem_ joined
11:55 SkyRocknRoll joined
11:55 barisyesilcicek joined
12:05 metoikos joined
12:07 cyborg-one joined
12:08 EyePulp joined
12:10 timg__ joined
12:13 metoikos joined
12:28 siddv29 joined
12:29 <siddv29> Hi guys, i am new to redis DB. Could someone provide any tutorial link with deep dive in redis.
12:29 <siddv29> I went through the redis.io tutorial
12:29 <siddv29> would love to understand redis' architecture in much more detail
12:41 pid1 joined
12:44 mrgreenfur joined
12:48 Guest96 joined
12:51 ppang_ joined
12:51 <mrgreenfur> Anyone know how to set the sentinel log? I don’t see it in the conf examples/options anywhere
13:00 <badboy_> mrgreenfur: logfile "path/to/your/file"
13:00 <mrgreenfur> badboy_: oh, thats simple enough, thanks
13:01 <mrgreenfur> the same with dir?
13:02 fakenerd joined
13:03 <badboy_> well, given that Sentinel does not store any data, there is no use for dir
13:13 EyePulp joined
13:14 <mrgreenfur> hrm, I see it autogenerates one, but maybe it’ sjust the config file it’s writing as it runs
13:15 Sarevok left
13:27 ppang_ joined
13:33 indistylo joined
13:48 daxelrod joined
13:49 shinnya joined
13:52 wlightning-fuel joined
13:54 bannakaffalatta joined
14:02 sz0 joined
14:08 nrk joined
14:11 naquad joined
14:12 matthewtrask joined
14:16 [diecast] joined
14:18 iamchrisf joined
14:29 pchoo joined
14:35 etehtsea joined
14:36 cyclones92 joined
14:37 tiwest joined
14:38 mikecmpb_ joined
14:43 mikecmpbll joined
14:48 raspado joined
15:01 daxelrod joined
15:01 etehtsea joined
15:05 etehtsea joined
15:07 felixjet joined
15:08 mikereca joined
15:10 wlightning-fuel joined
15:11 steeze joined
15:14 mikecmpb_ joined
15:21 mikecmpbll joined
15:21 <mikereca> Is there a way to run a command on a key when it expires, and based on the output of that command, move the data out of redis or to another redis db?
15:22 <badboy_> mikereca: no
15:22 <mikereca> :( not even with a Lua plugin?
15:22 <badboy_> you can in theory listen to keyspace notifications, but that won't give you the actual data
15:22 <badboy_> no, no lua plugins either
15:22 <mikereca> ah
15:23 <Habbie> duplicate your expiring data into a non-expiring key (or with a longer expiry) and use the second key from your namespace notification
15:23 <Habbie> s/duplicate/indirect/ if you want to save RAM
15:24 svm_invictvs joined
15:25 <mikereca> @Habbie: that might actually work pretty well
15:25 <Habbie> :)
15:26 mikecmpb_ joined
15:28 <mikereca> @Habbie: you can't do a lookup on an expiring key, right?
15:30 indistylo joined
15:31 daxelrod joined
15:32 <Habbie> mikereca, no, but you could do key and _key so you can always find the other one by just prepending _
15:32 <Habbie> mikereca, this is a very rough idea to be clear, i haven't done this
15:37 <mikereca> Habbie, I'll let this simmer for a bit. Thanks for your and @badboy_'s help!
15:52 svm_invictvs joined
16:19 barisyesilcicek joined
16:26 cyborg-one joined
16:39 soveran joined
16:46 edge226 joined
16:50 maxmatteo joined
16:57 bf_ joined
16:57 SkyRocknRoll joined
17:11 mikecmpbll joined
17:11 daxelrod joined
17:14 daxelrod joined
17:29 hahuang65 joined
17:33 minimalism joined
17:39 strayArch joined
17:40 efphe joined
17:48 hahuang61 joined
17:50 maxmatteo joined
17:57 SebastianFlyte joined
18:00 unbalancedparen joined
18:03 wlightning-fuel joined
18:04 wlightning-fuel joined
18:37 unbalancedparen joined
19:09 JrWebDev joined
19:11 <JrWebDev> wahts the best way to use a nosql like redis. say i have some data in my database. Would i use some kinda of cron job to update the redis from database every week? or simply manually input key,values into redis and exclude from database?
19:13 <minus> the way we do it: primary data in postgres, trigger functions attached to tables which emit a NOTIFY, a custom daemon that connects to postgres and redis and listens to those notifications and writes the data to redis (explanation simplified)
19:14 <JrWebDev> awesome minus
19:15 <minus> you don't have to do it that complicated, but you're not gonna get past writing/using a daemon like that
19:15 <JrWebDev> you create a daemon based off linux terminal
19:15 <JrWebDev> to listen to postgre and redis
19:15 rendar joined
19:16 <minus> the daemon's written in python (with twisted)
19:16 <JrWebDev> i see
19:16 <minus> the simplest way is, as you already suggested, to run a cron job that runs a script that copies the data
19:17 <minus> if your database items have modification dates you can use those to do incremental updates
19:17 <JrWebDev> thats true
19:17 <JrWebDev> idk if php supports redis very well
19:18 <JrWebDev> or actually..i should just use linux bash to communicate between mysql and redis with a cron job
19:18 <minus> there's at least 2 libraries for it
19:18 <minus> nah, bash won't quite work
19:18 <JrWebDev> darn
19:18 <minus> php is fine
19:18 <JrWebDev> the thing is..
19:19 <JrWebDev> if i use php. do i set it up to run at certain times? the way i think of php is that once php is loaded it'll run...unless of course i give it a timer
19:20 <minus> well, you can either start the script every x minutes via a cronjob or just write a daemon in php too
19:37 <JrWebDev> thats true
19:38 <JrWebDev> good idea. okay just wondering how its done out there in the real world. im totally new to no sql so wasnt sure what was the best practices out there.
19:41 hahuang61 joined
19:44 Mr__Anderson joined
19:51 maxmatteo joined
19:56 Guest96_ joined
19:57 minimalism joined
19:59 shinnya joined
20:00 maxmatteo joined
20:00 Dave_R joined
20:11 mrwn joined
20:13 mrwn left
20:26 FunnyLookinHat joined
20:26 FunnyLookinHat joined
20:27 MrXXIV joined
20:33 ogres joined
20:43 unbalancedparen joined
20:44 <maxmatteo> i can highly recommend predis for php
20:47 soveran joined
21:11 pid1 joined
21:33 bf_ joined
21:34 hive-mind joined
21:48 wlightning-fuel joined
21:55 garfed joined
21:55 wlightning-fuel joined
22:14 daxelrod joined
22:17 hahuang61 joined
23:04 olalonde joined
23:11 daxelrod joined
23:21 farsonic joined
23:25 Guest96 joined
23:41 daxelrod joined
23:45 daxelrod1 joined
23:54 Guest96 joined