🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #65516

Re: XNews: Question to Luu about catchup command

#65516
From: Digital Rasta
Date: Tue, 12 Sep 2000 11:58
44 lines
2905 bytes
rpresser@NOSPAMimtek.com.invalid (Ross Presser) wrote in 
<8FA8756CEpt101594@209.155.56.91>:

>alt.distinguished.mwp@home.com.invalid (Murray 
>Peterson).wrote.posted.offered:
>
>>I agree completely.  I suppose a really "proper" algorithm would 
>>estimate the cost of doing it each way and pick the cheaper (in terms 
>>of time).
>
>A "good enough" algorithm might be this:
>
>1. Ask the server for its LOWEST article number.  Trim the read ranges 
>(from the newsrc) to suit.
>2. Have a .ini parameter called MaxDiscard, tweakable for faster or 
>slower servers and/or internet links, that says the maximum number of 
>discardable articles per range.  
>3. Join adjacent ranges, estimating discarded articles this way:
>
>   unread: 100-200  \
>   read: 201-204     - discarded articles = 4
>   unread: 205-300  /
>
>   If discarded articles from a merge are less than MaxDiscard, go 
>ahead and join the range, otherwise leave separate.
>4. Repeat step 3 until no more merges available.
>
>
>

I use a tweakable RangeGap that is usually about 13 but can be 
wound done to 0 or 1. Some servers can take an age just to respond
to XOVER for articles that they do not have. These are the kind
of servers that also take an age to respond to XOVER for hundreds
of articles, so I also have a MaxChunk size that gets that 
available headers chunk by chunk - lets me see that everything is 
still active.

If Luu wants to implement something like the above, it will help
the progress bar that displays a %-age of the headers being read,
and the left-hand status box that shows this progress numerically,
as he can calculate an estimate of how many headers he wants to
read, rather than top.of.high.range minus bottom.of.low.range
Technical Details
Message-ID: <8FAD8E198digitaslrasta@195.8.69.72>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!colt.net!newspeer.clara.net!news.clara.net!nnrp3.clara.net.POSTED!not-for-mail
References: <8FA49154Ffarkle@24.64.2.57> <8FA6E2EE2luutrangeocities@209.30.0.14> <8FA7138AFfarkle@24.64.2.57> <8FA7B4424pt101594@209.155.56.91> <8FA88F48farkle@24.64.2.57> <8FA8756CEpt101594@209.155.56.91>

Show Full Headers
Complete Article Headers
Message-ID: <8FAD8E198digitaslrasta@195.8.69.72>
Subject: Re: XNews: Question to Luu about catchup command
Date: Tue, 12 Sep 2000 11:58:48 GMT
From: digitalrasta@geocities.com (Digital Rasta)
References: <8FA49154Ffarkle@24.64.2.57> <8FA6E2EE2luutrangeocities@209.30.0.14> <8FA7138AFfarkle@24.64.2.57> <8FA7B4424pt101594@209.155.56.91> <8FA88F48farkle@24.64.2.57> <8FA8756CEpt101594@209.155.56.91>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!colt.net!newspeer.clara.net!news.clara.net!nnrp3.clara.net.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/03.08.16
Lines: 43
NNTP-Posting-Host: 193.128.90.95
X-Complaints-To: abuse@clara.net
X-Trace: nnrp3.clara.net 968759928 193.128.90.95 (Tue, 12 Sep 2000 12:58:48 BST)
NNTP-Posting-Date: Tue, 12 Sep 2000 12:58:48 BST