download problem

2008-05-15 Thread subhodip biswas
hi ! while trying to download F9 what I face is quite frustrating ..in fact this can be faced by a lot of user in India . while wbut mirror is down (temporarily ) and other cannot handle all the load and bit torrent is quite slow . clicking on i386 direct download always gives error 412 : too many

Re: download problem

2008-05-15 Thread Nigel Jones
subhodip biswas wrote: hi ! while trying to download F9 what I face is quite frustrating ..in fact this can be faced by a lot of user in India . while wbut mirror is down (temporarily ) and other cannot handle all the load and bit torrent is quite slow . clicking on i386 direct download always g

Re: download problem

2008-05-15 Thread Matt Domsch
On Thu, May 15, 2008 at 10:04:51PM +1200, Nigel Jones wrote: > subhodip biswas wrote: > >hi ! > >while trying to download F9 what I face is quite frustrating ..in fact > >this can be faced by a lot of user in India . > >while wbut mirror is down (temporarily ) and other cannot handle all > >the lo

Re: download problem

2008-05-15 Thread Debarshi Ray
> One thing MM would benefit from would be a weighted sampler. > > [...] > > What I need is a replacement for random.shuffle() that takes a list of > tuples: (something, weight). And returns a list of somethings that > was generated with a statistical sampling based on weight. > > Now, this is _pr

Re: download problem

2008-05-15 Thread Francois Petillon
Debarshi Ray wrote: Say A, B and C are mirrors having bandwidth of x,y and z Mbps respectively. So lets have an array which has: A, A, A... (x times), B, B, B... (y times), C, C, C... (z times), and then generate a random number within [0, x+y+z] and use that as an index to fetch a mirror from th

Re: download problem

2008-05-15 Thread susmit shannigrahi
Do we really need an array? Lets see.. * Lets say we have three mirrors X (45 Mb), Y (5Mb), Z (3Mb) * =>Total bandwidth = 53Mb * Now lets say, at any given instance there are 100 requests. * So proportionally, X should get (100/53)*45 = 85 requests. Y should get 9 requests and Z, 6 requests o

Re: download problem

2008-05-15 Thread Matt Domsch
On Thu, May 15, 2008 at 08:57:59PM +0530, susmit shannigrahi wrote: > Do we really need an array? Lets see.. > > * Lets say we have three mirrors X (45 Mb), Y (5Mb), Z (3Mb) > > * =>Total bandwidth = 53Mb > > * Now lets say, at any given instance there are 100 requests. we don't know this numbe

Re: download problem

2008-05-15 Thread Francois Petillon
susmit shannigrahi wrote: Do we really need an array? Lets see.. 2. If r<85 route to X, else if 85 This is de facto an array... Your's is hardcoded (and you need a code generator and you need to generate the code it for all GeoIP possible result). Mine is build up using GeoIP results.

Re: download problem

2008-05-15 Thread susmit shannigrahi
> > 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 b

Re: download problem

2008-05-15 Thread susmit shannigrahi
On Thu, May 15, 2008 at 9:31 PM, Francois Petillon <[EMAIL PROTECTED]> wrote: > susmit shannigrahi wrote: >> >> Do we really need an array? Lets see.. > >> 2. If r<85 route to X, >> else if 85> else route to Z. > > This is de facto an array... Well, may be, but without any operation on stack,

Re: download problem

2008-05-15 Thread K.R. Foley
susmit shannigrahi wrote: 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 probabi

Re: download problem

2008-05-15 Thread susmit shannigrahi
>> > Problem with this is that you never know n :) Hmm..let me think again.. -- Regards, Susmit. = ssh 0x86DD170A http://www.fedoraproject.org/wiki/SusmitShannigrahi = _

Re: download problem

2008-05-15 Thread susmit shannigrahi
>> Problem with this is that you never know n :) Why do we need to know n? Whenever a request comes in, 85% chance is that it will go to X. This is individually true for all requests. So totally 85% req will go to X. -- Regards, Susmit. = ssh 0x86

Re: download problem

2008-05-15 Thread subhodip biswas
can it be done like tihis ! it already detects that I am in india and routes me to nearest mirror .why let the user choose among the three mirror so that if he gets a 421 he can switch to another one .(or may be suggested another one ) .I am talking of get fedora part only ..yum is working fine .

Re: download problem

2008-05-18 Thread K.R. Foley
Matt Domsch wrote: On Thu, May 15, 2008 at 10:04:51PM +1200, Nigel Jones wrote: subhodip biswas wrote: hi ! while trying to download F9 what I face is quite frustrating ..in fact this can be faced by a lot of user in India . while wbut mirror is down (temporarily ) and other cannot handle all

Re: Docs Installation Guide - Submission and Download problem

2009-12-02 Thread Paul W. Frields
On Wed, Dec 02, 2009 at 09:47:32AM +0200, Dimitris Glezos wrote: > On Wed, Dec 2, 2009 at 3:32 AM, Ruediger Landmann > wrote: > > On 12/01/2009 04:59 PM, Jaswinder Singh wrote: > >> > >> On 11/24/2009 10:07 AM, Runa Bhattacharjee wrote: > >>> > >>> I am getting a 'Page Unavailable' error while tr

Re: Docs Installation Guide - Submission and Download problem

2009-12-02 Thread Mike McGrath
On Wed, 2 Dec 2009, Paul W. Frields wrote: > On Wed, Dec 02, 2009 at 09:47:32AM +0200, Dimitris Glezos wrote: > > On Wed, Dec 2, 2009 at 3:32 AM, Ruediger Landmann > > wrote: > > > On 12/01/2009 04:59 PM, Jaswinder Singh wrote: > > >> > > >> On 11/24/2009 10:07 AM, Runa Bhattacharjee wrote: > >

Re: Docs Installation Guide - Submission and Download problem

2009-12-02 Thread Paul W. Frields
On Wed, Dec 02, 2009 at 08:23:40AM -0600, Mike McGrath wrote: > On Wed, 2 Dec 2009, Paul W. Frields wrote: > > > On Wed, Dec 02, 2009 at 09:47:32AM +0200, Dimitris Glezos wrote: > > > FWIW, Fedora still runs an old version of Tx. > > > > If the Infrastructure is out of its freeze period now, this

Re: Docs Installation Guide - Submission and Download problem

2009-12-02 Thread Paul W. Frields
On Wed, Dec 02, 2009 at 10:22:44PM +0530, Runa Bhattacharjee wrote: > Paul W. Frields wrote: > > > > >If the Infrastructure is out of its freeze period now, this would > >be a good time to contemplate updating the Fedora Transifex > >instance. Is that already planned? > > > > We are waiting for

Re: Docs Installation Guide - Submission and Download problem

2009-12-09 Thread Paul W. Frields
On Fri, Dec 04, 2009 at 10:51:59AM +0200, Dimitris Glezos wrote: > 2009/12/3 Ruediger Landmann : > > On 12/02/2009 05:47 PM, Dimitris Glezos wrote: > >> > >> Rudi, you could clear the cache and refresh it. > >> > > > > Really? How do I do that? I'd thought that a button like that would be > > usef