1 Feb 2004 01:09
Re: Re: Another Overload problem Update
Dave Warren <dave.warren <at> devilsplayground.net>
2004-02-01 00:09:08 GMT
2004-02-01 00:09:08 GMT
Jeff Snavely wrote: > --- In bnr1 <at> yahoogroups.com, "Helen McGee" <helwitch <at> v...> wrote: >> On this note, Jeff, will there be the ability to set a default >> queue sort order anytime soon? You did add this ability for the >> groups, would it be difficult to add it for the queue? Because I >> like my queue sorted score(1) data(2). And it bugs me no end when >> it gets out of that order, which it does often. > > I'm not sure you realize what you are asking. The queue is different > from a Message-List page because it is constantly changing. If you > notice, each time you add something to the queue, it puts the new > items at the bottom and forgets the current sort. In order to keep > the queue arranged in order, it would have to resort the queue each > time it adds a new item. This includes all of the individual > commands involved in a header refresh. If you remember the way BNR1 > used to go berserk hopping around all over the list and forgetting > your selection when you tried to mark things for download while it > was still downloading headers, the queue would become even more like > that than it already is. Are you sure you want this? How about resorting it whenever the queue tab is selected, but not while you're actually using the window? -- -- Dave Warren, Email Address: dave.warren <at> devilsplayground.net Cell: (403) 371-3470 Fax: (403) 371-3471 Toll free: (888) 371-3470 Vonage: (817) 886-0860 ICQ: 17848192 AIM: devilspgd Yahoo!: devilspgd MSN/PASSPORT: dave.warren <at> devilsplayground.net(Continue reading)
To wit:
Let's describe my real-world scenario more accurately. Let's say there are
*five* servers, all with differing priorities. I'll name them by their
priority to make it easier to read. There are articles in the queue such
that three of the connections should be awakened.
Connection 125: can handle first item in queue, so skips rest of items.
Connection 50: can handle item 101; skips items after that.
Connection 0: scans entire queue and finds nothing it can do.
Connection -50: can handle item 6001; skips items after that.
Connection -100: scans entire queue and finds nothing it can do.
Inner loop: 26,103 iterations
: Your Suggestion: (loop over queue items, then over connections)
: Queue item 1: first connection can handle this item, second cannot
: Queue item 2: first connection can handle this item, second cannot
RSS Feed