🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53

Re: SPOOLNEWS & nntp

#53
From: Felix Lee
Date: Fri, 29 Jul 1988 00:14
18 lines
1569 bytes
In <10080@e.ms.uky.edu> David Herron writes:
> It's amazing what you'll do when you're bored.  One afternoon I moved the
> SPOOLNEWS code from inews.c into nntpd to see what sort of effect it would
> have on the system load, it "seems" to help quite a bit.

A better way to spend your time is to fix nntpd so that it doesn't spawn
a new inews every time it receives an article.  But B2.11 inews is going
to fork off a new inews for every article anyway.  This would still be a
slight win, especially if your fork() uses copy-on-write.  Even better
would be C news, which doesn't fork at all.  (What about 3.0?)

But nntpd would have to get the size of the article for #!rnews batches.
You could 1) save the article (either in memory or on disk); 2) have the
sender tell you the size; 3) create a batch that uses delimiters instead
of byte counts.  I like the last option best.
--
Felix Lee	*!psuvax1!flee
Technical Details
Message-ID: <3744@psuvax1.cs.psu.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!lll-winken!lll-tis!ames!think!husc6!rutgers!psuvax1!blitz!flee
References: <10080@e.ms.uky.edu> <14956@oddjob.UChicago.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <3744@psuvax1.cs.psu.edu>
Subject: Re: SPOOLNEWS & nntp
Date: Fri, 29 Jul 1988 00:14:00 +0000
From: flee@blitz (Felix Lee)
References: <10080@e.ms.uky.edu> <14956@oddjob.UChicago.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!lll-winken!lll-tis!ames!think!husc6!rutgers!psuvax1!blitz!flee
Newsgroups: news.software.b,news.software.nntp
Sender: news@psuvax1.cs.psu.edu
Organization: Penn State University Computer Science
Lines: 16