Article View: news.software.nntp
Article #6459Re: DDJ article on KNews
From: Howard Goldstein
Date: Wed, 10 Apr 1996 00:00
Date: Wed, 10 Apr 1996 00:00
73 lines
3507 bytes
3507 bytes
[here is Robert Krten's reply to my posting. I suspect he doesn't
follow nsn or nsb][but he should!]
---------- Forwarded message ----------
Date: Wed, 10 Apr 96 10:34:56 EDT
From: Robert Krten <root@parse.com>
To: hg@n2wx.ampr.org
Subject: Re: DDJ article on KNews
>
> [This message has also been posted.]
> Robert Krten poses an interesting twist to newsserver design in an
> article in Dr. Dobb's this month ("Improving USENET news performance",
> p. 66, DDJ May '96).
>
> If I follow Robert's design correctly, he gets around the intensive
> expiration process by concatenating all articles expiring at a given
> time in a single file and then overlays /var/spool/news with a virtual
> filesystem associating article #s with a pointer to the actual file
> containing the article plus an offset and length to delimit the
> article.
>
> Wonder if anyone else caught this article and would care to comment?
> I'm not at all clear on how it scales to production newsserver volumes
> (the article cites a <1 second cancellation time for 10KB of
> articles), how it handles article rejection with respect to multiple
Unfortunately, DDJ screwed up. It should state "10k articles", *not*
10KB of articles. :-) This makes it a little more "real world"...
Article rejection (ie: the "history" process on conventional news)
is done in one of two ways. On the "beta" version, which is distributed
for free, it is quietly ignored -- we assume that the NNTP site from
which you are getting articles will not send you duplicates, or, if
it does, that these are of such a small magnitude as to be insignificant.
On the commercial version (4Q96 or so), the virtual filesystem manager
has a hash table that can be indexed very quickly by article ID, and it
points directly to the article. I haven't yet worked out where the
"old" (expired) article ID's will be stored, whether in the virtual
filesystem handler itself, or a separate "history" process. I expect
that expiry of the history file will follow in a manner similar to
expiry of news articles.
> offerings, or cancels, or for that matter out of order cancels.
Once an association exists between the articleID and the article
itself, cancellation etc will "fall out" of the design. Currently,
I don't handle it.
> Robert states that it is an ongoing project.
Look at the PARSE home page: http://www.parse.com, specifically
at the URL http://www.parse.com/vfn_README.html for further
information...
> [posted and emailed to rk@parse.com]
Feel free to post this as a follow-up to the newsgroups...
Thanks for your interest!
Cheers,
-Robert Krten
_ _ _ _ (rk@parse.com) 278 Equestrian Dr.
__\ |_) ^ |_) ( |_ SOFTWARE Kanata, ON K2M 1C5 +1 613 599 8316
/ | /-\ | \ _) |_ DEVICES Contract R&D Services (S/W & H/W Design)
Technical Details
Message-ID:
<slrn4mnoeh.r27.hgoldste@bbs.mpcs.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-mailReferences:
<slrn4mnee9.kt9.hgoldste@bbs.mpcs.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn4mnoeh.r27.hgoldste@bbs.mpcs.com> Subject: Re: DDJ article on KNews Date: Wed, 10 Apr 1996 00:00:00 +0000 From: hgoldste@bbs.mpcs.com (Howard Goldstein) References: <slrn4mnee9.kt9.hgoldste@bbs.mpcs.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: 146755450 Organization: disorganization Reply-to: hg@n2wx.ampr.org Newsgroups: news.software.nntp,news.software.b