🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26052

Diablo 1.15 will be ready in about 2 weeks

#26052
From: Matt Dillon
Date: Tue, 10 Feb 1998 00:00
80 lines
5001 bytes
    Well, I'm back from my diablo hiatus... I got too stressed out trying
    to do a dozen projects at once and had to cut back a little :-(

    In anycase, I am planning the first reader release to happen in about
    two weeks.  I'm going to outline the strategy, open for comment:

    My strategy is to maximize the number of simultanious NNTP connections
    that can be supported.  With CPU power so cheap, this pretty much means
    minimizing disk accesses which in turns means reducing the amount of 
    disk-based I/O required.

    To accomplish this, the reader side of diablo is going to permanently
    store and track *ONLY* article group/number assignments and overview
    information.  There will be no history file and while there WILL be
    an article cache, it will operate strictly as a cache (not a spool) and
    can even be turned off.

    The reader side of diablo will require a header-only feed.  This is like
    a normal newsfeed, but without the article bodies... just the headers.
    The headers will be used to do the article number assignment and overview
    upkeep (Xref: will be optionally supported for article number assignment).
    The reader will be able to handle a normal feed, but will throw away the
    body portion of the articles and keep just the headers.   Thus, while
    the diablo reader is designed to operate with the diablo server, it should
    be useable as a standalone reader fed by non-diablo news software.

    Since the reader will not support a history file, you can push only one
    feed to it to ensure that no article duplication occurs.  HOWEVER, 
    you *can*, if you want, run diablo, INN, or some other news transit 
    system on the SAME BOX and use that to collect multiple feeds, then push 
    a single (header-only or normal) feed to the diablo reader.

    The reader will operate using a multi-thread/multi-fork model whereby the
    main reader daemon will fork a bunch of sub-reader servers and each sub
    server will be able to handle N NNTP sessions using select() as the core
    of the multi-threading.  I expect a standard PPro or PII-200 platform
    with a single 4G disk to be able to handle around 1000 simultanious
    sessions.   Due to the multi-threaded nature of the system, I expect around
    a 16K overhead per connection, so memory should not be an issue.  I
    would even go out on a limb and say that it may be possible to get several
    thousand simultanious sessions going on a single box.

    When an end-user makes a connection, his connection will be passed onto
    one of the sub-servers.  All standard NNTP commands will be supported
    and everything except the article body will be retrieved from local
    disk.  Article body requests will, if the local disk cache does not
    have the article in question, be farmed out to one of N remote 'spool'
    servers which can be Diablo, INN, or any other news system that supports
    retrieving articles by message-id.  Local disk-caching of retrieved article
    bodies will be optional.

    The diablo reader system will inherently be able to support multi-level
    article caching simply by having the readers the users connect to use
    another set of reader machines to fetch articles.  These middle reader
    machine(s) would be configured with a large cache and would then connect to
    the actual spools.  Furthermore, the middle reader machines would not
    only NOT require any sort of history file, they would not even require
    overview and so will be able to operate as standalone fall-through caches 
    with NO feeds whatsoever.

    Keep in mind that the enduser reader boxes will require some sort of 
    feed, but just the headers.  This is a tradeoff and may eventually not
    be a requirement, but I don't think I can get working code out in less
    then two weeks if I try to turn the overview operation into a cache
    as well, nor am I going to attempt self-synchronizing article number
    assignment yet.

    So, what do people think?  

						-Matt


-- 
    Matthew Dillon   Engineering, BEST Internet Communications, Inc.
    <dillon@best.net>, include original article w/ any response.
    do not under any circumstances send email to joeblow@bigspender.idiom.com
    and, for gods sake, don't email bucktram@popserver.idiom.com

Technical Details
Message-ID: <6br2ki$bh8$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-mail

Show Full Headers
Complete Article Headers
Message-ID: <6br2ki$bh8$1@flea.best.net>
Subject: Diablo 1.15 will be ready in about 2 weeks
Date: Tue, 10 Feb 1998 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
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: 323962498
X-Trace: 887164372 15022 dillon 206.184.139.132
Organization: Best Internet Communications, Inc. - 650 964 BEST
Newsgroups: news.software.nntp