<    March 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 31
00:02 FunnyLookinHat joined
00:05 FunnyLookinHat joined
00:32 chipotle_ joined
00:54 rchavik joined
01:01 roelmonnens joined
01:07 edvorg joined
01:13 tempus_fol joined
01:26 edvorg joined
01:44 hphuoc25 joined
01:46 edvorg joined
01:55 soveran joined
01:55 soveran joined
02:39 CmndrSp0ck joined
02:57 soveran joined
03:15 rchavik joined
03:20 svm_invictvs joined
03:25 hphuoc25 joined
03:27 akkad joined
03:51 sz0 joined
04:01 raspado joined
04:16 EyePulp joined
04:26 EyePulp joined
04:33 RemiFedora joined
04:41 ppang joined
04:56 cyborg-one joined
04:56 svm_invictvs joined
04:58 tarkus joined
04:59 soveran joined
05:03 sfa joined
05:12 granitosaurus joined
05:20 ogny joined
05:23 tavish joined
05:27 <minus> xrated: how many keys are in your hashes?
05:30 hphuoc25 joined
05:53 soveran joined
05:58 EyePulp joined
06:03 hphuoc25 joined
06:03 hphuoc25 joined
06:12 tarkus joined
06:13 [1]moteus joined
06:19 roelmonnens joined
06:20 roelmonnens joined
06:27 aruns joined
06:29 hphuoc25 joined
06:30 tarkus joined
06:31 hphuoc25 joined
06:35 wlightning-fuel joined
06:40 EyePulp joined
06:45 roelmonn_ joined
06:54 fanfan joined
07:04 tavish joined
07:07 enigma_raz joined
07:07 chipotle joined
07:14 ante joined
07:24 pila joined
07:40 efphe joined
07:45 sz0 joined
07:46 EyePulp joined
08:03 raspado joined
08:05 roelmonnens joined
08:30 indistylo joined
08:32 mikecmpbll joined
08:50 programmingcool joined
08:55 enigma_raz joined
08:57 Mr__Anderson joined
09:00 Dave_R joined
09:08 dknight87 joined
09:09 <dknight87> hi guys, could someone help me or point me to a link which explains how to setup a 2 node redis db cluster?
09:09 <dknight87> I haven't been able to find good documentation
09:16 drbobbeaty joined
09:22 Habbie joined
09:31 karthikeayan joined
09:32 <karthikeayan> Does Redis Sentinel handle fault tolerance?
09:56 enigma_raz joined
10:19 ppang joined
10:22 Electron^- joined
10:28 fractalsea joined
10:29 <badboy_> dknight87: you don't.
10:29 <badboy_> dknight87: (well, depending on what you mean by cluster)
10:29 <dknight87> badboy_: master, slave
10:29 <badboy_> karthikeayan: Redis Sentinel handles automatic failover in case a node dies
10:30 <badboy_> dknight87: SLAVEOF master-ip master-port
10:30 <dknight87> yup, I've set it up
10:30 <dknight87> badboy_: thanks a lot!
10:30 <badboy_> dknight87: https://redis.io/topics/replication
10:31 <badboy_> that's one of the simplest mode Redis can run in. Keep in mind there's absolutely no handling if any node dies
10:31 <karthikeayan> does it mean, it doesn't lose state of the redis node?
10:32 <badboy_> karthikeayan: Sentinel is just the monitoring. Data must be replicated from master nodes to slave nodes, so that those slaves can become a new master if their master node dies
10:34 <karthikeayan> ok
10:51 efphe joined
10:56 enigma_raz joined
10:59 karthike1991 joined
11:11 fanfan joined
11:12 al-damiri joined
11:18 fanfan joined
11:19 enigma_raz joined
11:31 rendar joined
11:36 fanfan joined
11:39 Tawonga joined
11:43 cyborg-one joined
11:50 fanfan joined
11:54 <mikecmpbll> i'm setting up sentinels for the first time and this sentinel is reporting S_DOWN
11:54 <mikecmpbll> although I don't know why. i'd like to test the ping mechanism that it uses to determine if master is down, how can I do that?
11:56 aah joined
11:56 <aah> dealing with disk space issues. can I get rid of temp-* files, in order to free up space for a bgsave?
12:04 [1]moteus joined
12:04 raspado joined
12:05 <badboy_> mikecmpbll: connect to the node via TCP and send PING
12:05 SkyRocknRoll joined
12:05 <badboy_> aah: yes, those are temporary files
12:05 <badboy_> normally Redis should rename to the configured filename if all goes correctly
12:05 <mikecmpbll> @badboy_ : thanks! i'll bear that in mind. literally just sorted the issue anyways, i hadn't provided the password of the master correctly to the sentinel.
12:05 <badboy_> ;)
12:06 <mikecmpbll> this section should mention the `sentinel auth-pass <master> <pass>` config option :p
12:06 <mikecmpbll> https://redis.io/topics/sentinel#sentinel-and-redis-authentication
12:07 SkyRocknRoll joined
12:07 <badboy_> add it and I merge it ;)
12:07 <mikecmpbll> 👍🏼
12:10 indistylo joined
12:15 rchavik joined
12:16 <xrated> minus: sorry just saw message this morning, I did a debug object on one of the hashes and this is the result
12:16 <xrated> refcount:1 encoding:hashtable serializedlength:433741 lru:14565491 lru_seconds_idle:1351
12:16 <xrated> ive no experience with hashes so idk if that value is large or not
12:28 <mikecmpbll> i'm curious how the sentinel config rewrite works. seems to rewrite random portions of my config haha
12:28 <mikecmpbll> i had things like `sentinel failover-timeout mymaster 180000` which appear to have been removed
12:29 <minus> xrated: HLEN is what i was asking
12:29 <badboy_> mikecmpbll: it will remove defaults
12:30 <xrated> minus: 4 on avg it looks like
12:30 <mikecmpbll> @badboy_ : ahhh.
12:31 <minus> xrated: give the redis performance tooling a try then
12:31 <minus> latency doctor and what not
12:31 <minus> slow log
12:31 <xrated> will do
12:31 <xrated> ty
12:31 <minus> (never used those myself)
12:33 _Alaric_ joined
12:37 karthikeayan joined
12:40 rchavik joined
12:40 <mikecmpbll> the config rewrite stuff makes it kinda tricky to manage redis with configuration automation like saltstack 😓
12:41 chipotle joined
12:43 <minus> iirc cluster fixed that by writing runtime stuff to separate file
12:46 lukasdboer joined
12:47 lukasdboer joined
12:47 <mikecmpbll> okay, i see what's going on. i have sentinels on different vLANs, each connects to the master on a different local IP address. the sentinels keep trying to update eachother with the other master address.
12:48 <mikecmpbll> is there a way around this?
12:48 <minus> put them on the same VLAN?
12:49 <mikecmpbll> :/ i don't want to do that, the whole point i'm setting this up is for resiliency across datacentres
12:49 <mikecmpbll> vlan on each datacentre.
12:49 <mikecmpbll> ah maybe there's some networking fu i can do. i suck at that stuff.
12:50 <minus> you set up sentinels cross-datacenter?
12:50 <mikecmpbll> minus : aye.
12:50 <minus> sounds questionable
12:50 <mikecmpbll> why?
12:50 <minus> just does
12:50 <minus> i guess it depends on what you use it for
12:51 <minus> a netsplit with that is gonna be annoying as fuck
12:51 <minus> assuming both sides write
12:53 <mikecmpbll> all our infrastructure is replicated across these two datacentres. load balancers, databases, everything
12:57 <badboy_> no, Redis doesn't really deal easily with different IPs for the same instance
12:57 <mikecmpbll> @badboy_ : thanks
12:58 lukasdboer joined
13:00 fanfan joined
13:00 <mikecmpbll> eh i'm an idiot anyway i just need to add the sentinel hosts to the redis vlan.
13:03 EyePulp joined
13:04 <minus> mikecmpbll: so, how does this work, does only stuff in one DC do actual work and the other is on standby or do both work and only work with the redis master and thus are blocked from working while a netsplit is occurring?
13:05 <mikecmpbll> not sure if i understand the question necessarily, but i'm just going for a master/slave scenario with failover
13:05 <mikecmpbll> so yeah, one server will be doing all the work at any one point.
13:05 <mikecmpbll> if it goes down, it switches to the other one at the other DC.
13:05 <minus> ah okay then
13:06 <minus> so pure failover
13:06 <mikecmpbll> aye, no sharding or load balancing or anything like that
13:06 <mikecmpbll> we could, but we don't need that.
13:15 edrocks joined
13:20 Dave_R joined
13:20 enigma_raz joined
13:41 daxelrod joined
13:46 CroogoBot joined
13:48 rchavik joined
13:56 dblessing joined
14:10 bannakaffalatta joined
14:14 tarkus joined
14:21 enigma_raz joined
14:40 fractalsea joined
14:42 JohnnyRun joined
14:46 <JohnnyRun> hi all. Is it possible to disable persistence at all on redis? I'm using 2.8.19 on centos. here is my conf dump: https://gist.github.com/johnnyrun/af63ddb91385abdff269c7c4b023b0fd
14:46 <JohnnyRun> I have 'save ""' in the conf but I find dump.rdb on filesystem.
14:47 efphe joined
14:51 roelmonn_ joined
14:52 rchavik joined
14:55 <badboy_> do you have slaves attached?
14:55 <badboy_> oh it is a slave
14:57 <badboy_> Then no, on initial sync a dump will be saved
14:58 <JohnnyRun> ok badboy. so it is slave-related?
14:58 <badboy_> yes
14:58 <JohnnyRun> Do you know if it is the same on newer versions?
14:59 <badboy_> yes, it is on all versions
14:59 <badboy_> there's a diskless mode for the master
14:59 <badboy_> but the diskless-mode for slaves is not merged
15:00 <JohnnyRun> ok. Thanks a lot badboy_
15:04 sdfs joined
15:07 wlightning-fuel joined
15:09 roelmonnens joined
15:10 bannakaf_ joined
15:12 RemiFedora joined
15:13 enigma_raz joined
15:16 ogres joined
15:22 <minus> .qrand album:largo
15:22 <minus> whoops
15:41 FunnyLookinHat joined
15:51 fractalsea joined
15:59 tomaz_b joined
16:06 raspado joined
16:09 tessdev joined
16:10 <tessdev> Hi,We are facing redis connection timeout even after upgrading to aws m4.xlarge
16:12 <minus> you have to lower the frequency of saves
16:17 svm_invictvs joined
16:24 guhcampos joined
16:28 fractalsea joined
16:28 dknight87 joined
16:29 soveran joined
16:29 soveran joined
16:35 wlightning-fuel joined
16:36 soveran joined
16:36 soveran joined
16:41 edvorg joined
16:46 raspado joined
16:48 shinnya joined
17:05 dblessing joined
17:06 edrocks joined
17:11 wlightning-fuel joined
17:19 jud joined
17:20 wlightning-fuel joined
17:47 cyborg-one joined
17:47 hashpuppy joined
18:05 wlightning-fuel joined
18:25 JacobEdelman joined
18:28 edrocks joined
18:28 wlightning-fuel joined
18:32 wlightning-fuel joined
18:37 slester joined
18:37 edrocks joined
18:43 Guest96 joined
18:47 mikecmpbll joined
18:52 soveran joined
18:52 soveran joined
19:05 olalonde joined
19:13 tomaz_b joined
19:15 rendar joined
19:15 rendar joined
19:19 bandroidx joined
19:25 wlightning-fuel joined
19:28 EyePulp joined
19:37 al-damiri joined
19:39 roelmonnens joined
19:40 synthmeat joined
19:54 soveran joined
20:05 synthmeat joined
20:08 Guest96_ joined
20:15 hahuang61 joined
20:17 Mr__Anderson joined
20:23 synthmeat joined
20:32 wlightning-fuel joined
20:33 wlightning-fuel joined
20:35 EyePulp joined
20:36 soveran joined
20:36 soveran joined
20:44 tomaz_b joined
21:27 roelmonnens joined
21:32 p1rate joined
21:32 p1rate joined
22:00 granitosaurus joined
22:06 edrocks joined
22:10 bannakaffalatta joined
22:10 Azure joined
22:24 soveran joined
22:24 soveran joined
22:24 mikecmpbll joined
22:37 wlightning-fuel joined
22:37 wlightning-fuel joined
23:05 svm_invictvs joined
23:06 hahuang61 joined
23:10 fakenerd joined
23:16 roelmonnens joined
23:40 soveran joined
23:40 soveran joined