🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1539

Re: Newbie question

#1539
From: Julien ÉLIE
Date: Mon, 20 Mar 2023 18:38
49 lines
3528 bytes
Hi Eli,

>>> However, I have my doubts about the fact that this new version first downloads
>>> the overview data of the entire newsgroup. That can take a while for a
>>> newsgroup with a few million messages. I don't know if I like that.
>>
>> You need the overview to get the article size before downloading,
>> whether that's all at once or per article. I imagine it's more efficient
>> to get it all up front then filter out the unwanted articles.

Indeed, downloading the overview in a unique command is globally faster 
than article by article.

Suppose the group contains article numbers 1 to 1,000,000 and the last 
time pullnews ran, it retrieved article 800,000.
Then on a new run, it will first ask the overview of articles 800,001 to 
1,000,000 in a unique command, and it will get a unique (long) answer. 
Then pullnews will actually download only articles known to be smaller 
than the maximum size wanted.

Otherwise, the easiest way would be to retrieve overview data, article 
by article.  It will take globally more time, but I agree the user 
experience is better as he does not have the feeling of a "hang" during 
the download of the whole overview.
I could tweak it to download by bunches of 100 articles for instance, 
but it's more work to do :(  I may have to do so finally...



> It may be a bit more efficient, but I still see more disadvantages than
> advantages. For example, if I want to change the max. file size or want to
> change the regex for option -m, this is no longer possible after the entire
> overview has already been downloaded and the filtering has already been
> processed.

No, it will still be possible.
Overview data is downloaded each time you run pullnews.  It does not 
save it for later re-use if you "reset" the newsgroup in pullnews.marks. 
  It downloads overview data between the last retrieved article and the 
last existing article in the newsgroup.

-- 
Julien ÉLIE

« Give laugh to all but smile to one,
   Give cheeks to all but lips to one,
   Give love to all but Heart to one,
   Let everybody love you
   But you love one. »
Technical Details
Message-ID: <tva97f$3u1tg$3@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tv6qkd$3qi2h$1@news.trigofacile.com> <8VWRL.3657546$14z3.1126554@fx11.ams4> <tv9f2b$3ti$2@freeq.furie.org.uk> <BTYRL.1709576$gs1.1178861@fx15.ams4>

Show Full Headers
Complete Article Headers
Message-ID: <tva97f$3u1tg$3@news.trigofacile.com>
Subject: Re: Newbie question
Date: Mon, 20 Mar 2023 19:38:39 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tv6qkd$3qi2h$1@news.trigofacile.com> <8VWRL.3657546$14z3.1126554@fx11.ams4> <tv9f2b$3ti$2@freeq.furie.org.uk> <BTYRL.1709576$gs1.1178861@fx15.ams4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.admin.peering
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 20 Mar 2023 18:38:39 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="4130736"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0
Cancel-Lock: sha1:rHIP6gyvhOtfV05i+JvJCfkIA3s= sha256:IPbG3wbck79wteDCkbSLeE7hU2RYPiNwniCo/kRKqE8= sha1:kwMZozuxXeOlMomp+5TSrPUqRyI= sha256:A4UCVMOd4k+r9PS2Pe66oE2u3xRNEOI9AkQg+i1JclI=
In-Reply-To: <BTYRL.1709576$gs1.1178861@fx15.ams4>