Article View: news.software.nntp
Article #20529Re: Which is the best news download method.
From: Ian Stirling
Date: Thu, 14 Aug 1997 00:00
Date: Thu, 14 Aug 1997 00:00
34 lines
2799 bytes
2799 bytes
John Gorst <j.gorst@virgin.net> wrote: <snip> : Yesterday Virgin _upgraded_ their news server to a completely new system. : Part of this upgrade was to disable the newnews method of downloading news. : Are there any specific reasons why a system operator would want to do this? : Does it put an excessive load on the system - or is it because Virgin do : not want to put enough money into their news service to provide the : processing power to allow the NEWNEWS command to work efficiently? Well, you really need to put a lot of memory into the box, for good newnews support, as IIRC INN simply searches through the history file for new articles, which means you need to hold the whole 300++ Mb of it in RAM. The proper way to do this is not to break commands because your server is not well written enough to handle them, but to fix things. Of course, some people do not have this choice. There are of course many ways that it could be improved, perhaps the simplest way might be to write each message-ID as it comes in to a file in it's newsgroup, and and it's time to an index. Newnews would then be done by opening the time index file, doing a binary search (or maybe some more efficiant method) for the time, and reading message-ID's out of the other file. Newnews is a usefull command, it's a pity that it's implementation in some news-servers makes it so heavy a load. -- Ian Stirling. Designing a linux PDA, see http://www.mauve.demon.co.uk/ -----******* If replying by email, check notices in header *******------- He who lives in a glass house should not invite he who is without sin.
Technical Details
Message-ID:
<000033F371A2.NO_UCE@mauve.demon.co.uk>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:
<3407314d.43537089@223.103.5.35>Show Full Headers
Complete Article Headers
Message-ID: <000033F371A2.NO_UCE@mauve.demon.co.uk> Subject: Re: Which is the best news download method. Date: Thu, 14 Aug 1997 00:00:00 +0000 From: Ian Stirling <000033F371A2.NO_UCE@mauve.demon.co.uk> References: <3407314d.43537089@223.103.5.35> 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: 264895991 X-Mail2News-User: Send.NO_UCE@mauve.demon.co.uk MMDF-Warning: Parse error in original version of preceding line at punt-2.mail.demon.net X-Warning0: For unsolicited commercial email, sent (or for causing such to be sent) to X-Warning1: the email address on this message, I reserve the right to levy a charge X-Warning2: for my time and expenses of up to 100 pounds sterling per message, plus X-Warning3: 10 pounds per 100 lines of message body, plus legal, penalty or other costs X-Mail2News-Path: punt-2.mail.demon.net!mauve.demon.co.uk X-Note: Anti-UCE in effect, replying should work if you are not UCE'ng Newsgroups: news.software.nntp