🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7516

Re: Storage of Usenet News Articles by MD5 Hash

#7516
From: Evan Champion
Date: Sun, 12 May 1996 00:00
82 lines
4865 bytes
Heiko W.Rupp wrote:
> I think - at that point one should divide just more as Rich already did
> with his decision to separate reader and feeder. For hosts that mostly
> feed one has to apply different strategies, that for hosts that have
> mostly readers.
> The Machine at work has about 80 outgoing feeds  and perhaps two or
> three local readers - this machine could be without loss optimized for
> feed only. On the other hand there are machines that have some hundreds
> of readers and one incoming and one outgoing feed. These have jsut
> totally different needs. And the third group - the leaf sites which
> only get a subset and one feed and also only have one reader can run
> actual inn with actual fs still for several years ...

True, but I don't think that it is so "black and white" any more.

If we're just looking at impact on NNTP readers (as opposed to local 
spool readers), an awful lot can be done to the server without them even 
noticing.  As far as I'm concerned, as long as a reader isn't waiting
around for the initial connection and isn't waiting around for an
article to start sending, a reader will probably not notice any 
difference.  In my case, the network speed difference between the server
and client (100baseTX vs. 28.8 modem or ISDN) is such that once an
article is found and the transfer begins, the client will always become
the limiting factor to performance.

I don't think either of those major requirements are limited to
readers.

To me, the differences between servers and clients are, in general:

- clients access articles that have long since been purged from any
  caches; a lot of effort is put in to making sure that servers feed
  from cache
- clients read directories one at a time, but within a directory
  read articles in random order (due to threading); servers read
  in received date order
- clients receive a much smaller subset of articles than servers
- clients can handle latency much better
- clients are more concerned with newsgroups and article numbers
  than message IDs; servers only care about message IDs

So, on a single disk (or RAID) configuration, a server-only system
would want good article caching combined with articles stored by
message ID in received date order.  On a multi-disk (non-RAID)
configuration, a server-only system would want articles evenly stored
across all disks and by message ID.  If there was some way to work
in date sorting too, all the better.

A reader-only system would want articles stored more or less as they
are right now, except when multiple disks (non-RAID) are involved.
In that case, probably the same setup used for a multi-disk (non-RAID)
server-only configuration would be best.

RAID systems are expensive but individual disks are cheap.  Single
disk news servers are becoming a thing of the past; you can't get
disks that are big enough or fast enough to do either a reader-only
or server-only configuration well enough.

Thus, a configuration that is tilted more towards multi-disk (non-RAID)
is probably a good idea.  From my initial random thoughts on the
matter :-) it would seem that if it is accepted that multi-disk
(non-RAID) is the most realistic configuration, both servers and
clients would benefit most from the same (or similar) filesystem.

News readers that read by message ID and any server feeds would see
big performance boosts; readers that read by newsgroup/article would
see either no change (due to the overhead of having to translate
newsgroup/articles in to message IDs and vice versa) or would see
modest performance improvements from better spool management alone.
I would expect that news readers that read by newsgroup/article would
be revised to read by message ID if the changes we're talking about
were made standard in an upcoming INN.

I don't think there are many cases where as system would be worse off
then right now except those who read the local spool directly.
I think they form a very small minority of readers and they will
be screwed anyway by any changes made to the spool filesystem.

Evan

Technical Details
Message-ID: <31962AB5.2334@synapse.net>
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
References: <4mrljr$ho@olivea.ATC.Olivetti.Com> <4mt0lg$eag@piano.synapse.net> <slrn4p438r.a5h.hwr@pilhuhn.de>

Show Full Headers
Complete Article Headers
Message-ID: <31962AB5.2334@synapse.net>
Subject: Re: Storage of Usenet News Articles by MD5 Hash
Date: Sun, 12 May 1996 00:00:00 +0000
From: Evan Champion <evanc@synapse.net>
References: <4mrljr$ho@olivea.ATC.Olivetti.Com> <4mt0lg$eag@piano.synapse.net> <slrn4p438r.a5h.hwr@pilhuhn.de>
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: 154454297
Content-type: text/plain; charset=us-ascii
Organization: Synapse Internet [www.synapse.net]
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: Mozilla 3.0b3 (WinNT; I)