🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2604

Re: scaling your news server

#2604
From: ghudson
Date: Wed, 18 May 1994 18:42
40 lines
2592 bytes
Phil Trubey (phil@netpart.com) wrote:
: In article <2qoqbp$27t@ftp.uu.net>, Bengt Larsson <bengtl@maths.lth.se> wrote:
: >
: >Here's an idea. For people who need max capacity for newsreading,
: >make a commercial NNTP server and base it on Windows NT. 
: >
: >Whatever you think of NT, it would be near-ideal for this. 
: >

: Huh?  Now why would NT be any better than Unix for this sort
: of task?  Extremely curious...

My guess is that Bengt was referring to kernel support for threads.
Really, all that's needed is some form of support for non-blocking
file I/O within a single address space; multiple kernel threads per
address space is one way of going about that.  (Windows NT isn't
the only operating system which provides kernel thread support, of
course.)

Although most Unix-like operating systems don't provide any way of
doing non-blocking file I/O, you can simulate it somewhat
inefficiently using IPC and some number of subprocesses.  This is in
some sense how your average nfsd works, although that's a slightly
different picture.

Threads are a convenient way to make sure that no single client
request takes too much time, and they allow you to avoid the big ugly
select() loop that makes most network servers difficult to write or
understand.  On the other hand, not everyone likes to think about
asynchronous flows of control accessing the same data, so threads
aren't for everyone.

(I'm still mystified as to why such an NNTP server should be
commercial, though.  With appropriate tools, constructing a news
server which operates as a single process should require no more
effort than has gone into existing news servers.)

--GBH

Technical Details
Message-ID: <2rdnj2$5mi@ftp.UU.NET>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!bga.com!news.sprintlink.net!hookup!swrinde!cs.utexas.edu!howland.reston.ans.net!pipex!uknet!EU.net!uunet!not-for-mail
References: <2qmaks$t0c@ftp.UU.NET> <2qofja$jdg@ftp.uu.net> <2qoqbp$27t@ftp.uu.net> <2r8epj$i53@ftp.UU.NET>

Show Full Headers
Complete Article Headers
Message-ID: <2rdnj2$5mi@ftp.UU.NET>
Subject: Re: scaling your news server
Date: Wed, 18 May 1994 18:42:42 +0000
From: ghudson@glacier.mit.edu
References: <2qmaks$t0c@ftp.UU.NET> <2qofja$jdg@ftp.uu.net> <2qoqbp$27t@ftp.uu.net> <2r8epj$i53@ftp.UU.NET>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!bga.com!news.sprintlink.net!hookup!swrinde!cs.utexas.edu!howland.reston.ans.net!pipex!uknet!EU.net!uunet!not-for-mail
Newsgroups: news.software.nntp,news.admin.technical
Followup-To: news.software.nntp,news.admin.technical
Organization: Massachvsetts Institvte of Technology
Lines: 39
Sender: zorch@ftp.UU.NET
Approved: zorch@uunet.UU.NET
Distribution: world
NNTP-Posting-Host: ftp.uu.net