[Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] [Date Index] [Author Index]

*From*: "susmit shannigrahi" <thinklinux ssh gmail com>*To*: fedora-infrastructure-list redhat com*Subject*: Re: download problem*Date*: Thu, 15 May 2008 21:45:46 +0530

> > we don't know this number (100) in the app... > Hence it needs to be a probability chosen out of the 53 (which we do > know). No, Wait. I can show if this is true for 100, this will be true for _any_ number. * As we are generating a random number within 100, the probability of each number being picked up is 1/100. * So the probability of getting a number within 85 is always 85/100. * Lets assume there are n requests to distribute. * Whatever be the value of n, the random number's probability of being in range <85 is 85/100. * So out of n requests, n*85/100 requests will always be routed to X irrespective of the value n. * Lets say n=10..So X gets 10*85/100 = 8.5 requests. * Lets say n=27 so X gets 27*85/100 = 22.95 requests. * If n=1, then the probability that X will get that particular requests is 85%. Correct? -- Regards, Susmit. ============================================= ssh 0x86DD170A http://www.fedoraproject.org/wiki/SusmitShannigrahi =============================================

**Follow-Ups**:**Re: download problem***From:*K.R. Foley

**References**:**download problem***From:*subhodip biswas

**Re: download problem***From:*Nigel Jones

**Re: download problem***From:*Matt Domsch

**Re: download problem***From:*Debarshi Ray

**Re: download problem***From:*Francois Petillon

**Re: download problem***From:*susmit shannigrahi

**Re: download problem***From:*Matt Domsch