🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59

Re: Reading news: NNTP v.s. NFS for access to the database

#59
From: Obnoxious Math Grad Student
Date: Thu, 04 Aug 1988 11:49
39 lines
2787 bytes
In article <11498@cisunx.UUCP>, cmf@cisunx (Carl M. Fongheiser) writes:
>Rrn's biggest problem (in my opinion) is that it always scribbles down
>*everything* it got over the wire onto disk.  I don't see any reason
>why rrn needs to write the whole article onto disk to do kill file
>processing.

Having written a comprehensive remote newsreader, the primary reason
for this is quite obvious to me: it's so much easier.  Doing a split
head and body fetch was quite tricky to get exactly right--among other
pitfalls, I had to suppress spurious(?) select(2) errors.

There's also the rare possibility of a /blah blah/a:j.  Well, maybe not
so rare--have you bothered to read news.admin recently?

Gnews doesn't support whole article searches, so this never occurs in
my case.  Also, Gnews does KILL processing on the fly, not all at once
at the beginning.

I'm in the process of rewriting Gnews internals to march down the
newsgroup in the background, caching up header and body information
while you're reading an article.  This is tricky enough in rn--to
do so asynchronously over NNTP is much more so.

Personally, I'd appreciate if NNTP would allow explicit buffering.  Ie,
not only "body ###", but say a "bodybuffer ### 30" to grab 30 lines;
the return message would tell how many lines remained to get.  The
all-or-nothing can be quite silly at times.  Among other applications,
this would permit fast implementation of KILLs based on a string within
the first so many lines.

>In sum, the current rrn is an imperfect molding of a file-system based
>news reader onto the NNTP model.  Rrn really *could* shine, but it'll
>take some work.

That's what I'm trying to make Gnews do.  Now that the first draft of
the manual is out of the way, I can dig into the internals again.

ucbvax!garnet!weemba	Matthew P Wiener/Brahms Gang/Berkeley CA 94720
Technical Details
Message-ID: <12962@agate.BERKELEY.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!attcan!uunet!husc6!rutgers!ucsd!ucbvax!agate!garnet!weemba
References: <16342@tut.cis.ohio-state.edu> <4246@pasteur.Berkeley.Edu> <19153@tut.cis.ohio-state.edu> <11498@cisunx.UUCP>

Show Full Headers
Complete Article Headers
Message-ID: <12962@agate.BERKELEY.EDU>
Subject: Re: Reading news: NNTP v.s. NFS for access to the database
Date: Thu, 04 Aug 1988 11:49:22 +0000
From: weemba@garnet.berkeley.edu (Obnoxious Math Grad Student)
References: <16342@tut.cis.ohio-state.edu> <4246@pasteur.Berkeley.Edu> <19153@tut.cis.ohio-state.edu> <11498@cisunx.UUCP>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!attcan!uunet!husc6!rutgers!ucsd!ucbvax!agate!garnet!weemba
Newsgroups: news.software.b,news.software.nntp
Sender: usenet@agate.BERKELEY.EDU
Reply-To: weemba@garnet.berkeley.edu (Obnoxious Math Grad Student)
Followup-To: news.software.b
Organization: Brahms Gang Posting Central
Lines: 38
In-reply-to: cmf@cisunx.UUCP (Carl M. Fongheiser)