4 ms·
As a pretty good rule of thumb, a system that fails 1/nth of the time and has n opportunities to fail has ~.63 probability of failure, where n is more than ~10.
by kyleschiller 10y ago
As a pretty good rule of thumb, a system that fails 1/nth of the time and has n opportunities to fail has ~.63 probability of failure, where n is more than ~10.
Graph: http://www.meta-calculator.com/online/?panel-102-graph&data-bounds-xMin=-10&data-bounds-xMax=10&data-bounds-yMin=-7.28&data-bounds-yMax=7.28&data-equations-0=%22y%3D1-(1-(1%2Fx))%5Ex%22&data-rand=undefined&data-hideGrid=false http://www.meta-calculator.com/online/?panel-102-graph&data-...
- Rainymood 10y agoVery nice rule of thumb, honestly I did not expect it to (sort of) converge to ~63%. Does anyone have some intuition for this?
- kyleschiller 10y agoHonestly I don't remember, it's 1-(1/e) if that helps. EDIT: http://math.stackexchange.com/questions/82034/prove-that-1-frac1n-n-converges-to-e http://math.stackexchange.com/questions/82034/prove-that-1-f...
- pedrosorio 10y agoIf a system has probability 1/n to fail, then it has probability 1 - 1/n to not fail. The probability it will not fail after n trials is (1 - 1/n) ^ n. The limit of this quantity when n->+inf is 1/e. If you want to know the probability it will fail, just take 1 - probability_success = 1 - 1/e.
- SamReidHughes 10y agoI'd say, hey, how do you calculate (1-h)^k? First take the natural log: ln((1-h)^k) = k ln(1-h) = -kh. And then exponentiate back up: e^(-kh). (For small values of h, ln(1-h) = -h by linear approximation.) (Edit: Wiped out looong comment.)
- StavrosK 10y agoI think by "intuition" the GP meant "for the non-mathematicians" :P
- pc86 10y agoIt's always amusing when someone asks for a layman/non-math/intuitive reason why something works out and HN responds with a 3-paragraph long proof that seems to always require university-level math. And it seems those comments almost invariably start with "Oh, you just..."
- sokoloff 10y agoReminds me of my favorite "HN isn't the normal world" exchange: https://news.ycombinator.com/item?id=35079 https://news.ycombinator.com/item?id=35079
- pc86 10y agoIn a sibling thread on that page: cperciva 3548 days ago [-] That is my startup idea. I don't want to take this thread even more off-topic (if that's even possible), but please feel free to contact me at the address in that first post to explain why you think it is a bad idea. dhouston 3548 days ago [-] we're in a similar space -- http://www.getdropbox.com (and part of the yc summer 07 program) basically, sync and backup done right (but for windows and os x). i had the same frustrations as you with existing solutions. let me know if it's something you're interested in, or if you want to chat about it sometime. drew (at getdropbox.com)
- TeMPOraL 10y ago'pedrosorio gave a nice one upthread[0]. Ultimately, it's hard to give a math-free explanation for something that comes out straight from math. If you break down an explanation into small enough steps, they should be comprehensible for anyone even if they have to take some steps on faith. -- [0] - https://news.ycombinator.com/item?id=14040434 https://news.ycombinator.com/item?id=14040434
- lsd5you 10y ago10 machines with a 10% chance of failure roughly equal to 100 machines with a 1% of failure. I think confusingly worded, as n increases the reliability of each node has to increase correspondingly to get the convergence. I'm not sure what real system this reflects, but I suppose it's an indication of at what point the problems of scale will bite (if you know your rough failure rate).
- deleted 10y ago[deleted]
- stcredzero 10y agoIs this related to the fuel fraction of a rocket that can accelerate to its own exhaust velocity?
- szemet 10y agoAnd this is the generalization: https://en.m.wikipedia.org/wiki/Poisson_limit_theorem https://en.m.wikipedia.org/wiki/Poisson_limit_theorem
- obstinate 10y agoOr as my first boss and mentor had a habit of saying, when you run a billion trials, one in a million events will happen about a thousand times.