News for hackers. Stuff that matters.
Re:SRE Fundamentals: SLIs, SLAs and SLOs by ksmith14 on Thursday July 19, 2018 @02:19PM (#17568989)
The Google SREs mentioned this in their book; the Chubby locking service had uptime that was so high that folks started to neglect making their own services resilient to Chubby failures: https://landing.google.com/sre/book/chapters/service-level-o...
Re:SRE Fundamentals: SLIs, SLAs and SLOs by robax on Thursday July 19, 2018 @02:37PM (#17569151)
+1 for this book. As a junior DevOps engineer this book has been super helpful.
Re:SRE Fundamentals: SLIs, SLAs and SLOs by philsnow on Thursday July 19, 2018 @03:02PM (#17569333)
the book is structured in a way that makes it pretty easy to jump around and pick and choose which parts you want to read or skip, so it's not a very large commitment to read it
Re:SRE Fundamentals: SLIs, SLAs and SLOs by AdamM12 on Thursday July 19, 2018 @10:03PM (#17571908)
Mine just came in the mail today. Pretty stoked.
Re:SRE Fundamentals: SLIs, SLAs and SLOs by mav3rick on Thursday July 19, 2018 @02:28PM (#17569081)
Still that's bad design on the clients' part. E.g. - Just because malloc "never" fails doesn't mean it can't fail :) so better error check for it.
Re:SRE Fundamentals: SLIs, SLAs and SLOs by Filligree on Thursday July 19, 2018 @02:30PM (#17569093)
Doesn't matter. Engineering around human failure is part of the profession.
Re:SRE Fundamentals: SLIs, SLAs and SLOs by kjeetgill on Thursday July 19, 2018 @02:33PM (#17569118)
That's a beautiful way to put it. I'd read that book.
Re:SRE Fundamentals: SLIs, SLAs and SLOs by Filligree on Thursday July 19, 2018 @04:06PM (#17569793)
Well, I'm a Google SRE so...
Re:SRE Fundamentals: SLIs, SLAs and SLOs by smcameron on Friday July 20, 2018 @12:33AM (#17572481)
Failure of malloc() might be a bad example to pick because on linux, by default, most distros overcommit, so malloc won't fail, generally. Instead, malloc will succeed allocating the address space just fine, but the RAM will get allocated upon first use, meaning that even though malloc gave you a supposedly valid pointer rather than NULL, actually using that pointer will crash your program.
Re:SRE Fundamentals: SLIs, SLAs and SLOs by mav3rick on Tuesday July 24, 2018 @02:48AM (#17598654)
Other distros may have this differently and return NULL. It's not portable and also just bad to not check for it.
Re:SRE Fundamentals: SLIs, SLAs and SLOs by tannhaeuser on Friday July 20, 2018 @02:59AM (#17573023)
Is there a way to fix this/switch it off? I never got the rationale for this behaviour.
Re:SRE Fundamentals: SLIs, SLAs and SLOs by zorked on Friday July 20, 2018 @04:03AM (#17573251)
There's a sysctl: vm.overcommit_memory=2

What most people don't realize is that you will get more OOMs if you disable overcommit.