Article View: news.software.nntp
Article #21513Re: Commercial news server besides Netscape...
From: Matt Dillon
Date: Sun, 14 Sep 1997 00:00
Date: Sun, 14 Sep 1997 00:00
57 lines
3833 bytes
3833 bytes
:In article <465.196T773T5651611@thule.no>,
:Petter Nilsen <pettern@thule.no> wrote:
:>In article <5vepa7$cdd$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote:
:>
:>> One of the big points with Diablo is that you can run it on relatively
:>> cheap boxes without any tuning whatsoever, and once you have it up and
:>> running it requires virtually no maintenance.
:>
:>Hi Matt, when can be expect reader support for Diablo?
:>
:>--
:>- Petter Nilsen - Salgsnett AS (Icenet) - mailto:pettern@thule.no
It's still a few months away, but I have most of theory worked out.
It's going to be very, very cool. Distributed spool feed/cache solution
(mix and match), really small (32K-64K hopefully) footprint multi-forking,
multi-threaded select-based nntp servers, and article synchronization
across multiple reader boxes.
The design of the active-file equivalent adds two new databases to
the system: The active file itself, and the (group,article#)->MessageID
database. The active file is obvious. The other database will
actually translate (group,article#) requests to 64 bit hash codes rather
then message-id's, which the nntp server then uses to retrieve the actual
article or overview information from the main spool. The cool thing
here is that since the article/overview is essentially retrieved by
message-id, the reader box can retrieve it from any spool anywhere... even
third-party spools, then cache it on local disk. It is the ultimate
distributed solution. If you have access to more then one full spool,
the redunancy will allow the system to survive major machine breakage
without the users even noticing. The (group,article#)->MessageID database
will be constructed with fixed-sized arrays of fixed-sized (64 bit hash
code) elements... 8 bytes per article, making it trivial to implement
and extremely robust. The size of the array will be algorithmically
adjusted on a per-group basis twice a week. Even assuming 100% space
wasteage, a typical 32GB spool with 4 million articles will require only
4Mx2x8 = 64MBytes worth of database for this function.
Overview information is always the most difficult to deal with. My
current plan is to generate it on demand. Since collecting overview
for a thousand articles after the fact is nasty, this is going to be
the most experimental part of the system. I am going to probably have
an overview-specific local disk cache that is time-localized by group
rather then by message-id. I haven't entirely worked this out yet.
I will probably wind up caching the full-headers per article.
In anycase, we are still talking a few months before the first alpha.
I need to finish up a bunch of things on the current newsfeeds side
of things. A few more new commands, better dhistory caching,
and a new hashing algorithm (the current one has more collisions then
I would like, I screwed up the algorithm).
-Matt
Technical Details
Message-ID:
<5vg9tb$esh$1@flea.best.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-mailReferences:
<199709110114.VAA07790@havoc.gtf.gatech.edu> <5vbomr$qkb$1@synthemesc.insync.net> <5vepa7$cdd$1@flea.best.net> <465.196T773T5651611@thule.no>Show Full Headers
Complete Article Headers
Message-ID: <5vg9tb$esh$1@flea.best.net> Subject: Re: Commercial news server besides Netscape... Date: Sun, 14 Sep 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <199709110114.VAA07790@havoc.gtf.gatech.edu> <5vbomr$qkb$1@synthemesc.insync.net> <5vepa7$cdd$1@flea.best.net> <465.196T773T5651611@thule.no> 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: 272335061 X-Trace: 874228460 8307 dillon 206.184.139.132 Organization: Best Internet Communications, Inc - 650 964 BEST Newsgroups: news.software.nntp