Article View: news.software.nntp
Article #26371Re: Support for NEWNEWS
From: Jon Ribbens
Date: Tue, 17 Feb 1998 00:00
Date: Tue, 17 Feb 1998 00:00
57 lines
2759 bytes
2759 bytes
-----BEGIN PGP SIGNED MESSAGE----- bill davidsen <davidsen@tmr.com> wrote: > The NEWNEWS command specifies both groups (as a wildmat()) and > distributions as matching parameters. Therefore the server either > has to maintain another database to do a lookup in any reasonable > time, or look in the article for the distributions (the way INN does > it now). As Jeff Garzik has pointed out, the Distribution header is arguaby not what NEWNEWS should be referencing anyway. > So it would seem there is a choice between adding another database > entry per article, which is a small overhead but adds one more thing > to slow the "per incoming article" rate, or doing something > inefficient on demand. In either case I have to conclude that there > will be a non-trivial increase in CPU and disk usage to support this > feature. Why do you have to conclude that it will be non-trivial increase in CPU and disk usage to write a value which is already in memory to a file which is already being written to? Especially when you consider that the Distribution header (if indeed this is needed) is nearly always empty, and is always short. In a quick check of 5000 articles in my news spool, only 786 of these had Distribution headers, and these averaged 6 bytes each. This makes an average of less than 1 byte per article. Tell me again about this "non-trivial increase in CPU and disk usage" ;-). > Feel free to tell me how it can be done without either of these > approaches taking resources. The obvious approach would seem to suffice. Cheers Jon -- ____ \ // Jon Ribbens // 100MB virtual-hosted // www.oaktree.co.uk \// jon@oaktree.co.uk // web space for 99UKP // -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBNOnd5IMzEl4yn7LtAQEkRAP6A8jckFfBhsu0Cfg3kK86cOQhXWrOPuMf PhECbNcnUUh20sM3t2ywRRqjpp1Mc2rHNHubT4L7DGXb3GnoiB4PiXFaQNQaoXNa dU+ysUfq89VcA2KcVhYQtZzmnWR135IBl0Pgozu19pWH56lfeedYhgOwCdzeU/QE ejyCjA4Rdyc= =2N1e -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<slrn6ejnf5.otp.jon@white.oaktree.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:
<34E483C1.2EE1@mci.net> <slrn6e9n5s.rvf.jon@white.oaktree.co.uk> <6cafvn$ga0$1@newssvr03-int.news.prodigy.com> <slrn6eiv1f.i7e.jon@white.oaktree.co.uk> <6ccfiu$14tm$1@newssvr04-int.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn6ejnf5.otp.jon@white.oaktree.co.uk> Subject: Re: Support for NEWNEWS Date: Tue, 17 Feb 1998 00:00:00 +0000 From: jon@oaktree.co.uk (Jon Ribbens) References: <34E483C1.2EE1@mci.net> <slrn6e9n5s.rvf.jon@white.oaktree.co.uk> <6cafvn$ga0$1@newssvr03-int.news.prodigy.com> <slrn6eiv1f.i7e.jon@white.oaktree.co.uk> <6ccfiu$14tm$1@newssvr04-int.news.prodigy.com> 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: 325954918 Organization: Oaktree Internet Solutions Ltd Newsgroups: news.software.nntp