<    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:04 soveran joined
00:04 soveran joined
00:05 chipotle joined
00:28 chatter29 joined
00:29 <chatter29> hey guys
00:44 daxelrod joined
00:45 timg__ joined
00:51 daxelrod1 joined
01:04 svm_invictvs joined
01:22 ogres joined
01:25 edvorg joined
01:52 rchavik joined
01:57 MrXXIV joined
02:06 soveran joined
02:19 roelmonnens joined
02:26 raspado joined
02:39 wlightning-fuel joined
03:05 mazeinmaze joined
03:08 soveran joined
03:13 chipotle joined
03:16 raspado joined
03:17 raspado joined
03:22 hphuoc25 joined
03:27 edge226 joined
03:42 sfa joined
03:43 fakenerd joined
03:51 chipotle joined
03:56 RemiFedora joined
04:03 hphuoc25 joined
04:07 roelmonnens joined
04:17 EyePulp joined
04:20 cyborg-one joined
04:24 minimalism joined
04:41 dustinm` joined
04:49 hphuoc25 joined
04:54 hphuoc25_ joined
04:54 ppang joined
04:55 fakenerd joined
05:10 soveran joined
05:14 Sarevok joined
05:16 _Wise_ joined
05:16 chen joined
05:30 timg__ joined
05:36 jud^ joined
05:36 pila joined
05:46 fakenerd joined
05:49 sfa joined
05:55 roelmonnens joined
06:05 hphuoc25 joined
06:12 soveran joined
06:17 roelmonnens joined
06:18 roelmonnens joined
06:19 tavish joined
06:26 rendar joined
06:33 EyePulp joined
06:34 moteus joined
06:42 programmingcool joined
06:46 tavish joined
06:47 roelmonn_ joined
06:55 ogny joined
06:55 ogny joined
07:12 Tawonga joined
07:17 hphuoc25 joined
07:27 hphuoc25_ joined
07:29 roelmonnens joined
07:31 bf_ joined
07:50 Electron^- joined
07:52 hphuoc25 joined
07:54 shinnya joined
07:56 mikecmpbll joined
07:59 hphuoc25 joined
08:03 HelgeO joined
08:04 Dave_R joined
08:07 tarkus joined
08:11 tarkus joined
08:13 soveran joined
08:18 soveran joined
08:20 SkyRocknRoll joined
08:22 efphe joined
08:22 SkyRocknRoll joined
08:34 mikecmpbll joined
08:41 ankr joined
08:45 ante joined
08:47 ankr joined
08:49 EyePulp joined
08:53 hphuoc25 joined
08:56 <ante> HI :) one question, maybe someone had a same problem. I have 3 nodes in redis master slave replica ( A , B , C ). After i shutdown master A, node B take role of master. And now problem is that node C never connect on master B as slave.
08:59 <ante> sentinel log : https://gist.github.com/galicante/1bb26dc32f7f5a99c6c604e8c196027b
09:21 Majiir joined
09:27 hphuoc25 joined
09:34 moteus joined
09:36 fractalsea joined
09:37 fractalsea joined
09:41 ogres joined
09:45 tiwest joined
10:18 edge226 joined
10:35 soveran joined
10:35 soveran joined
10:58 fractalsea joined
11:05 annanay joined
11:05 soveran joined
11:05 EyePulp joined
11:09 brodolfo joined
11:21 Mr__Anderson joined
11:21 marcoslater joined
11:30 ogny joined
11:31 fractalsea joined
11:39 hphuoc25 joined
11:43 fakenerd joined
11:46 chipotle joined
11:52 fractalsea joined
12:03 tavish joined
12:32 hos7ein joined
12:38 Malediction_ joined
12:39 Malediction joined
12:44 <ante> docker specific problem :)
12:46 Guest96 joined
12:46 <ahfeel> ante: ah, you found the solution ?
12:47 roelmonn_ joined
12:48 <minus> Docker - for the extra serving of non-determinism in your production system
12:49 hashpuppy joined
12:51 hphuoc25 joined
12:51 <ante> jep. I bind sentinel on address 0.0.0.0 because of docker network layer. And set ip address of `mymaster` => `private ip` . You getting a picture :P
13:03 sanyo joined
13:04 edrocks joined
13:15 elisiano joined
13:16 hphuoc25 joined
13:20 ante joined
13:21 raspado joined
13:21 EyePulp joined
13:27 hphuoc25 joined
13:29 hphuoc25 joined
13:33 cyclones92 joined
13:38 fractalsea joined
14:00 jobin joined
14:01 <jobin> help
14:01 <jobin> how to implement multi threading in redis /help
14:03 Sarevok joined
14:03 bannakaf_ joined
14:05 daxelrod joined
14:05 <AnteNsoft> you cant. But what can you do its setup eg. 4 redis instances and setup load balancer in front of them.
14:15 edrocks joined
14:16 tarkus joined
14:48 hphuoc25 joined
14:59 timg__ joined
15:10 hos7ein joined
15:30 timg___ joined
15:30 FunnyLookinHat joined
15:31 sz0 joined
15:36 fanfan joined
15:37 tavish joined
15:45 raspado joined
15:58 svm_invictvs joined
16:05 timg__ joined
16:07 roelmonnens joined
16:08 soveran joined
16:08 soveran joined
16:11 timg___ joined
16:13 fractalsea joined
16:15 al-damiri joined
16:17 hphuoc25 joined
16:28 granitosaurus joined
16:30 <granitosaurus> Could someone help me wrap my head around my issue: I have a website that allows users to check few tickboxes(up to 10). Now for every tickbox a redis call to specific key is made. This would happen pretty much on every page. How can I optimize this?
16:30 <granitosaurus> so far from what I've heard redis caches stuff like that automatically?
16:43 minimalism joined
16:54 tarkus joined
16:55 Mr__Anderson joined
17:05 efphe joined
17:24 maxmatteo joined
17:40 hphuoc25 joined
17:54 <minus> granitosaurus: What do you mean on every page? Load everything? What's the performance issue/concern?
17:55 <granitosaurus> minus, so right, let's presume I have 100 users and every page some data for these users needs to be retrieved that require 5 redis calls to retrieve sets.
17:56 <Inge-> Welcome back Mr__Anderson. We've missed you!
17:57 Seventoes joined
17:57 <granitosaurus> but I think I just answered my own question.
17:57 alnewkir1 joined
17:59 itamarhaber_ joined
18:00 ace joined
18:02 cbgbt joined
18:03 <minus> granitosaurus: rubber duck effect. good for you then; i'm still lost a bit :D
18:05 <granitosaurus> minus, to elaborate a bit more, my goal is to reduce redis calls. if I have 100 users that make my web app call redis 500 redis sets every 20 seconds, that's quite a bit, isn't it?
18:05 <minus> you could pipeline the requests, or try to store them in just one key instead of 5, or use a lua script to assemble the data in redis, but nothing of that will give a big benefit
18:05 <granitosaurus> so I decided just cache those sets in app memory instead. Though since redis is runs in memory I'm not certain anymore if there's any difference here
18:06 <minus> 25k queries per second; yes, that's quite a bit, but shouldn't be a problem for redis on a moderately decent machine
18:06 <minus> well, you save the roundtrip to redis
18:06 <Inge-> with batching, even a Raspberry Pi manages around 30K get req's/sec :)
18:06 <minus> if you're sure the data won't change in redis caching it is fine, i guess
18:07 <granitosaurus> "a moderately decent machine", does 5 euro linode count? :D
18:07 <minus> really
18:07 <minus> i have something with ~40k req/s in the back of my head on an i7 or so
18:07 <DrEeevil> more than ~70k queries/sec is difficult with a single redis instane
18:07 <minus> might have been complex requests
18:07 <DrEeevil> but then you should ask yourself why you do that
18:07 <minus> redis-cli --benchmark time!
18:09 <minus> >98135.42 requests per second
18:10 <minus> (redis-benchmark -t get)
18:11 <granitosaurus> only 45k on my x220 :/
18:11 <granitosaurus> oh wait
18:11 <granitosaurus> that's my linode vps :D
18:11 <granitosaurus> pretty damn good if you ask me
18:11 <minus> decent
18:11 <granitosaurus> my laptop does 120k
18:11 <minus> the 98k was on my i5-4210U
18:12 <Inge-> network latency, CPU speed and RAM speed?
18:12 <minus> >220604.45 requests per second
18:12 <minus> on one of our i7 servers at work
18:12 <minus> (consumer hardware)
18:12 <Inge-> locally or over network
18:13 <minus> local ofc
18:13 <minus> odd
18:13 <minus> the instance is passworded
18:13 <minus> that shouldn't even work
18:14 soveran joined
18:14 soveran joined
18:15 <minus> 195k if i set the password, 28k over network (one router)
18:15 <minus> 151k over network (over one setswitch)
18:16 <minus> switch, not setswitch, where the fuck did that set come from
18:16 <minus> incredible how much difference a router makes
18:21 <minus> granitosaurus: and you can't consolidate those 500 queries you do in one page load? 500 seems quite excessive
18:22 <granitosaurus> oh no, 500 queries per ALL users i expect
18:22 <granitosaurus> so 5 queries per page per user
18:22 <minus> ooooh
18:22 <minus> so 25q/sec
18:22 <minus> no worries about that then
18:23 <granitosaurus> half-way through implementing the cache :D
18:23 <granitosaurus> now you tell me!
18:23 roelmonnens joined
18:23 <minus> you didn't correct me when i said 25k q/sec!
18:23 <granitosaurus> but yeah, I'd rather not have this cache
18:23 <granitosaurus> not a mathemagician, sorry
18:23 <minus> yeah, caching is bad
18:24 <granitosaurus> well, thanks for clearing up then minus!
18:24 <Inge-> There are only two hard problems in computer science
18:25 <Inge-> Naming things
18:25 <Inge-> Cache invalidation
18:25 <Inge-> and off by one errors
18:25 <minus> lol
18:25 <minus> that last one i didn't know
18:25 <minus> the other variant is s/Cache invalidation/Distributed systems/, but that's very similar
18:27 <Inge-> also some interpolate multi threading
18:27 <Inge-> anyway. Don't add an unnecessary cache :)
18:27 <minus> it's all got to do with shared state that needs to be synchronized
18:44 hahuang65 joined
18:50 cyborg-one joined
18:57 rendar joined
18:57 rendar joined
19:00 mikecmpbll joined
19:02 ogres joined
19:06 hahuang61 joined
19:09 hahuang65 joined
19:14 hahuang61 joined
19:15 tarkus joined
19:21 soveran joined
19:31 bannakaffalatta joined
19:33 fractalsea joined
19:35 roelmonnens joined
19:40 programmingcool joined
19:42 chipotle joined
19:48 hos7ein joined
19:55 wahnf joined
20:27 fractalsea joined
20:34 fractalsea joined
20:41 svm_invictvs joined
20:43 underyx joined
20:43 brodolfo joined
20:44 soveran joined
20:44 soveran joined
21:13 hahuang61 joined
21:24 roelmonnens joined
21:43 hphuoc25 joined
22:18 xrated joined
22:19 <xrated> hi, I've just started hunting down a performance issue - according to newrelic most all commands are performant but hget is incredibly slow
22:19 <xrated> idk if anyone has ran into some sort of similar situation?
22:23 bannakaffalatta joined
22:42 chipotle joined
23:08 EyePulp joined
23:09 EyePulp joined
23:12 unbalancedparen joined
23:13 roelmonnens joined
23:18 BrianMiller joined
23:24 olalonde joined
23:34 SkyRocknRoll joined
23:43 hphuoc25 joined
23:53 soveran joined