Article View: news.admin.peering
Article #1542Re: Newbie question
From: Jesse Rehmer
Date: Mon, 20 Mar 2023 18:58
Date: Mon, 20 Mar 2023 18:58
33 lines
2843 bytes
2843 bytes
On Mar 20, 2023 at 1:38:39 PM CDT, "Julien ΓLIE" <iulius@nom-de-mon-site.com.invalid> wrote: > 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... Maybe it would be sufficient to print a message indicating it is retrieving overview data to inform the user of what is happening to account for the pause?
Technical Details
Message-ID:
<tvaadj$17ul$1@nnrp.usenet.blueworldhosting.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-mailReferences:
<sXMOL.4024495$MJk2.1098149@fx06.ams4> <tv9f2b$3ti$2@freeq.furie.org.uk> <BTYRL.1709576$gs1.1178861@fx15.ams4> <tva97f$3u1tg$3@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <tvaadj$17ul$1@nnrp.usenet.blueworldhosting.com> Subject: Re: Newbie question Date: Mon, 20 Mar 2023 18:58:59 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tv9f2b$3ti$2@freeq.furie.org.uk> <BTYRL.1709576$gs1.1178861@fx15.ams4> <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 Newsgroups: news.admin.peering Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 20 Mar 2023 18:58:59 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="40917"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:YVg1QYksZ+6V+VGVV3np0WVDCoo= sha256:2EG4WDX8Hb3Rvh9nMihcdxtJxZMQKWHzQLTGJlgvUlM= sha1:hJU1IafZyirKnLHnO50UY3v9IzU= sha256:vK/hmPvUDkz4ZNFbnKMD3kONyo+fLmWcf1r/WV4zxNU= X-Usenapp: v1.26.3/d - Full License Lines: 32