Article View: news.software.nntp
Article #15142Re: NEWNEWS Command
From: bill davidsen
Date: Tue, 18 Feb 1997 00:00
Date: Tue, 18 Feb 1997 00:00
47 lines
2869 bytes
2869 bytes
In article <E5GFKo.Goz@spcuna.spc.edu>, Terry Kennedy <terry@spcuna.spc.edu> wrote: | David A. Bartizal <dabart1@solution4u.com> writes: | > 2. Why is the NEWNEWS command being phased out. It seems like a good | > method to issue one simple command? There *must* be some better way, | > eh? | | A long time ago, Usenet news was low volume - I remember when a one month | article retention would happily fit in 500MB. These days, news is several | GB per day. While a lot of that is people distributing pirated software and | dirty pictures, a lot of it is just an increased quantity of articles. | | All of the common news transports NEWNEWS commands do a search through the | news "history file". This file has grown in step with the number of articles | and can now be quite large (on one of my servers it's > 150MB). While the | news server is searching this file for you, it isn't doing any work for other | users. I always wondered why this command is so _slow_? My history file is about 2.5M lines, so the binary search used in INN would take ~22 disk accesses to find the starting point. Now, if the NEWNEWS output is huge, and being sent over a slow link like a modem, it could take a long time to send. But the actual case is that the search is the time consuming part, with a huge delay before the article list starts to flow. | | There are a number of ways to get equivalent info. Which is best probably | depends on which server your ISP is running. | | You can do a "list active" or a "group group.name" to get the current low | and high article numbers in the groups (the first form gives you the info for | all the group, the second for a specific group). Assuming that you get all your feed from a single server, you can save the highest article number. But if you get feeds from many places, you probably need to use XOVER and check the article numbers. In either case the NEWNEWS is not needed. -- bill davidsen <davidsen@tmr.com> Some people hack for fun, some because they want things their way, some don't because they can't, and some because they can't be bothered. Some can make anything work, some can but would rather not, and some could misconfigure a bowling ball.
Technical Details
Message-ID:
<5ecv0q$1bcm@usenet1y.prodigy.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5doh1j$en4$1@jair.pressenter.com> <E5GFKo.Goz@spcuna.spc.edu>Show Full Headers
Complete Article Headers
Message-ID: <5ecv0q$1bcm@usenet1y.prodigy.net> Subject: Re: NEWNEWS Command Date: Tue, 18 Feb 1997 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <5doh1j$en4$1@jair.pressenter.com> <E5GFKo.Goz@spcuna.spc.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 219665468 Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com