<     May 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:14 Cohedrin joined
00:14 daxelrod joined
00:15 bannakaffalatta joined
00:15 edrocks joined
00:16 daxelrod1 joined
00:36 Cohedrin joined
00:39 Cohedrin joined
00:43 Cohedrin joined
01:07 svm_invictvs joined
01:36 rchavik joined
01:39 Cohedrin joined
01:51 garfed joined
01:51 EyePulp joined
01:55 GreenJello joined
02:09 edrocks joined
02:09 Cohedrin joined
02:10 daxelrod joined
02:16 Spondyl joined
02:22 roelmonnens joined
02:58 aah joined
03:08 pengobab joined
03:33 Guest96 joined
03:41 nemothekid joined
03:41 Cohedrin joined
04:04 hndk joined
04:10 roelmonnens joined
04:11 edrocks joined
04:17 RemiFedora joined
04:18 Guest96 joined
05:26 svm_invictvs joined
05:36 ppang joined
05:44 raspado joined
05:50 Cohedrin joined
05:51 raspado joined
05:58 masber joined
05:58 roelmonnens joined
06:06 nemothekid joined
06:08 fakenerd joined
06:20 rendar joined
06:24 roelmonnens joined
06:27 themroc joined
07:22 fakenerd joined
07:25 ogny joined
07:25 ogny joined
07:33 JohnnyRun joined
07:42 ogny joined
07:42 ogny joined
07:48 ogny joined
07:54 Dave_R joined
07:56 fakenerd joined
07:56 kiran_ joined
07:59 masber joined
08:03 Electron^- joined
08:11 mikecmpbll joined
08:15 hphuoc25 joined
08:16 hphuoc25 joined
08:16 Cohedrin joined
08:19 kraftman joined
08:23 Cohedrin joined
08:33 Mr__Anderson joined
08:39 efphe joined
08:43 cyborg-one joined
08:44 eddd joined
08:52 drbobbeaty joined
09:23 moteus joined
09:32 cyborg-one joined
09:36 fakenerd joined
09:39 winem_ joined
09:47 Guest96 joined
09:59 fakenerd joined
10:01 fakenerd joined
10:08 permalac joined
10:12 Electron^- joined
10:16 edrocks joined
10:52 shesek joined
11:11 aah joined
11:17 drbobbeaty joined
11:23 pengobab joined
11:23 xiaomiao joined
11:33 cyborg-one joined
11:38 aah joined
11:41 hphuoc25 joined
11:42 fakenerd_ joined
11:47 adac joined
11:47 <adac> guys, is there a proxy one can use for a redis service?
11:52 <minus> like twmeproxy? HAProxy?
11:52 <zetab> haproxy in tcp mode?
11:52 <zetab> i have not tested but could work
11:53 WindChimes joined
11:54 <minus> it does, we're using that
12:00 WindChim_ joined
12:07 watersoul joined
12:15 Guest96_ joined
12:15 [1]moteus joined
12:18 fakenerd joined
12:19 <adac> minus, zetab thanks guys!
12:20 <adac> minus, may I ask on how your setup looks like with haproxy? You have two or more redis instances and in front there is haproxy right?
12:20 <adac> not master slave or such?
12:21 <minus> it's a 2-redis 3-sentinel failover setup with haproxy n front
12:21 <minus> *in
12:22 <adac> minimalism, ok I see so it is a cluster
12:22 <adac> uh wrong sorry, meant minus
12:22 <adac> thanks!
12:22 <minus> no, not a cluster, at least not in the redis sense
12:23 <adac> minus, hmm did you follow an online tutorial on that? Could you send me a link maybe so I can read about this?
12:26 hphuoc25 joined
12:27 <minus> there's a couple, you should be able to find them easily
12:27 <minus> basically you get haproxy to do a PING to redis and call it a day
12:28 kiran_ joined
12:28 <minus> for failover + having haproxy connect to the master you make haproxy send INFO REPLICATION to both redises and choose the one that replies with role:master as active backend
12:28 <minus> i don't really run that myself; the service is managed by our hoster
12:29 <adac> minus, ok thanks for the infos!
12:31 roelmonn_ joined
12:34 tarkus joined
12:40 edrocks joined
12:48 wlightning-fuel joined
12:48 EyePulp joined
12:50 EyePulp joined
13:11 pengobab joined
13:14 edrocks joined
13:15 aah joined
13:23 EyePulp joined
13:32 EyePulp joined
13:35 wlightning-fuel joined
13:35 daxelrod joined
13:36 EyePulp joined
13:40 EyePulp joined
13:43 EyePulp joined
13:45 EyePulp joined
14:08 iamchrisf joined
14:11 [1]moteus joined
14:15 Guest96 joined
14:36 EyePulp joined
14:39 EyePulp_ joined
14:41 EyePulp joined
14:44 beni joined
14:44 Mr__Anderson joined
14:44 basiclaser joined
14:45 roelmonnens joined
14:53 al-damiri joined
15:00 EyePulp joined
15:05 EyePulp joined
15:09 Electron^- joined
15:20 FunnyLookinHat joined
15:20 FunnyLookinHat joined
15:24 EyePulp joined
15:24 EyePulp joined
15:41 Electron^- joined
15:44 EyePulp joined
15:59 EyePulp joined
15:59 svm_invictvs joined
16:01 raspado joined
16:05 cyborg-one joined
16:06 EyePulp joined
16:12 EyePulp joined
16:15 EyePulp joined
16:17 roelmonnens joined
16:22 roelmonnens joined
16:25 svm_invictvs joined
16:29 tarkus joined
16:42 roelmonnens joined
16:42 nico__ joined
16:43 ddd_ joined
16:44 <ddd_> seq 3 | redis-cli -x lpush test; redis-cli lrange test 0 -1 => "1\n2\n3\n"
16:44 <ddd_> not sure why this makes one value instead of three... also not sure why the newlines are showing up
16:55 tavish joined
17:09 edrocks joined
17:17 edrocks joined
17:17 <minus> gotta use xargs
17:24 adac joined
17:25 EyePulp joined
17:26 SkyRocknRoll joined
17:47 SkyRocknRoll joined
17:50 Cohedrin joined
17:52 EyePulp joined
17:53 cyborg-one joined
17:54 roelmonnens joined
18:03 daxelrod joined
18:08 roelmonnens joined
18:13 daxelrod joined
18:18 Garo_ left
18:27 raviv joined
18:30 forgotmynick joined
18:36 mikecmpbll joined
18:47 wlightning-fuel joined
18:52 rendar joined
18:52 rendar joined
18:53 aah joined
18:57 <aah> 'lo all. question. I've got a redis list that represents the last N events; events are added via LPUSH, and the list is trimmed to ensure the size is limited to N.
18:57 <aah> events are buffered and written every few seconds.
18:58 <aah> I'm wondering if I should special case the path where I know I'm writing N events. i.e., instead of LPUSH ..., LTRIM ... instead I'd do DEL ..., LPUSH ...
18:59 <aah> without looking at the redis code at all, I could imagine that the push would be more efficient when the key doesn't exist?
19:00 <minus> doubt it
19:01 <minus> and unless you're pushing redis to its limits i wouldn't worry about that
19:01 Mr__Anderson joined
19:05 fireglow joined
19:18 edrocks joined
19:36 iamchrisf joined
19:41 iamchrisf joined
19:43 pengobab joined
19:52 pila joined
19:53 pila left
19:53 pengobab joined
20:05 WindChimes joined
20:13 aah joined
20:13 winem_ joined
20:21 GreenJello joined
20:34 hndk joined
21:08 iamchrisf joined
21:11 damnski joined
21:13 <damnski> how do I run redis from startup as a singleton? no sentinel, no slaves. I just want to start it as 'slaveof no one.' I have that set in redis.conf but it becomes a slave at startup. then I have to set it back with redis-cli
21:18 <minus> damnski: are you possibly loading the wrong config or connecting to the wrong port?
21:23 wlightning-fuel joined
21:23 <damnski> minus, it is always possible, but no. we typically run with three separate hosts, with sentinel. my case now is for a test env and I don't want replication. I was the redis node to come up and become master, disregarding the need to replicate.
21:24 <damnski> I am using a startup script to point to the config file.
21:25 <damnski> I can run 'redis-cli slaveof no one' and the node/instance becomes master. I have the same line in the config file but it still starts up as a slave.
21:34 pandeiro joined
21:39 iamchrisf joined
21:44 <badboy_> Redis doesn't set itself as a slave. so either it is in your config or it gets triggered externally, e.g. from a Sentinel or similar
22:09 edrocks joined
22:21 dblessin_ joined
22:21 Azure|dc joined
22:23 berken_ joined
22:23 aapjeisbaas_ joined
22:24 al-damiri_ joined
22:25 comboy_ joined
22:26 Inge-_ joined
22:27 js_ joined
22:27 tiwest_ joined
22:27 comboy_ joined
22:28 stonHu joined
22:28 Jonuz_ joined
23:10 edrocks joined
23:25 Cohedrin joined
23:35 roelmonnens joined
23:35 WindChimes joined
23:53 hndk joined
23:56 chipotle joined
23:58 masber joined