history

来自「早期freebsd实现」· 代码 · 共 259 行

TXT
259 行
字号
$Revision: 1.6 $This file contains a few messages of historical interest.  Some of theinformation in these messages is out of date (e.g., you don't need anyother software, ihave/sendme is suported, etc); see the README andinstallation manual.The first is a mail message I sent as soon as I got the idea.Six months later I had something to beta, and I posted the second messageto Usenet.  My ship date was optimistic.The third message is the application that I required all beta sites tofill out.The fourth is a copy of the release notice.From: Rich Salz <rsalz@bbn.com>Date: Sat, 8 Dec 90 15:23:20 ESTMessage-Id: <9012082023.AA13441@litchi.bbn.com>To: newsgurus@ucsd.edu, nntp-managers@ucbarpa.Berkeley.EDUSubject: Speed idea.Suppose inews, nntp, "rnews -U", newsunbatch, etc., all just fed theirarticles to a single daemon?An idea I started kicking around yesterday.  This is intended only forsites supporting BSD networking.  I believe that anyone else who needsthis kind of speed would find Cnews good enough.A multi-threaded server that used non-blocking IO to read all incomingarticles on several sockets (don't forker a server, select on theconnection socket will return READOK when a connection request comes in).All articles are read into memory, then written out to the filesystemusing a single writev call (easy way to splice the path).Hash the active file and compile the sys file so as soon as an article wasaccepted we can write out the batchfile entries.  As one special case,write entries to another socket for articles that should be fed out viaNNTPLINK or something.Put the socket inside a group-access-only directory, so that only trustedfront-ends like inews "rnews -U" etc can connect to it.Oh yeah, for things like nntp use sendmsg/recvmesg to hand off thefeeding site to the demon once it's authenticated the incoming call andrecognized it as an "xfer no" site.I've a few pages of notes and code fragments to type in.No locks of any kind.  active file is mmap'd or periodically flushed.Keep it all in core and blat it out with a single write.When you want to expire, or add a group, you send a special messageon a control port, or perhaps a sighup/sigusr1 to force it to resynch.Any feedback?	/r$Path: papaya.bbn.com!rsalzFrom: rsalz@bbn.com (Rich Salz)Newsgroups: news.software.nntp,news.admin,comp.org.usenixSubject: Seeking beta-testers for a new NNTP transfer systemMessage-ID: <3632@litchi.bbn.com>Date: 18 Jun 91 15:47:21 GMTFollowup-To: posterOrganization: Bolt, Beranek and Newman, Inc.Lines: 72Xref: papaya.bbn.com news.software.nntp:1550 news.admin:15565 comp.org.usenix:418InterNetNews, or INN, is a news transport system.  The core part of thepackage is a single long-running daemon that handles all incoming NNTPconnections.  It files the articles and arranges for them to be forwardedto downstream sites.  Because it is long-running, it can be directed tospawn other long-running processes, telling them exactly when an articleshould be sent to a feed.  This can replace the "watch the logfile" modeof nntplink, for example, with a much cleaner mechanism:  read thebatchfile on standard input.InterNetNews assumes that memory is cheap and fast while disks are slow.No temporary files are used while incoming articles are being received,and once processed the entire article is written out using a singlewritev(2) call (this includes updating the Path and Xref headers).  Theactive file is kept in memory (a compile-time option can be set to usemmap(2)), and the newsfeeds file is parsed once to build a complete matrixof which sites receive which newsgroups.InterNetNews uses many features of standard BSD sockets includingnon-blocking I/O and Unix-domain stream and datagram sockets.  It ishighly doubtful that the official version will ever provide support forTLI, DECNET, or other facilities.INN is fast.  Not many hard numbers are available (that is one requirementof being a beta-site), but some preliminary tests show it to be at leasttwice as fast as the current standard NNTP/C News combination.  Forexample, Jim Thompson at Sun has had 20 nntpxmits feeding into a 4/490,and was getting over 14 articles per second, with the CPU 11% utilized.  Iwas getting 10 articles/second feeding into a DECstations 3100, with theprogram (running profiled!) 50% idle and the load average under .7.  (Itis a scary thing to see several articles filed with the same timestamp.)The sys file format is somewhat different, and has been renamed.  Thearcane "foo.all" syntax is gone, replaced with a set of order-dependantshell patterns.  For example, instead of "comp,comp.sys.sun,!comp.sys" youwould write "comp.*,!comp.sys.*,comp.sys.sun"; to not get any groupsrelated to binaries or pictures, you write "!*pictures*,!*binaries*".There are other incompatibilities as well.  For example, ihave/sendmecontrol messages are not supported.  Also the philosophy is that thatinvalid articles are dropped, rather than filed into "junk."  (A logmessage is written with the reason, and also sent back to the upstreamfeed as part of the NNTP reject reply.)  The active file is taken to bethe definitive list of groups that an article wants to recieve, and ifnone of an article's newsgroups are mentioned in the active file, then thearticle is invalid, logged, and dropped.The history and log files are intended to be compatible with those createdby C News.  I want to thank Henry and Geoff for their kind permission touse DBZ and SUBST.  You will need to be running C News expire or a B2.11expire that has been modified to use DBZ.The InterNetNews daemon does not implement all NNTP commands.  If siteswithin your campus are going to post or read news via NNTP, you will needthe standard NNTP distribution.  The daemon will spawn the standard nntpdif any site not mentioned in its "hosts.nntp" file connects to the TCPport.  InterNetNews includes a replacement for the "mini-inews" that comeswith the standard NNTP distribution.  This can be used on any machine thatposts news and connects to an NNTP server somewhere; its use is notlimited to INN.  At some point I hope to have a replacement nntpdoptimized for newsreaders, and an NNTP transmission program.  These willremove the need for any external software beyond the C News expire program.If you would like to beta-test this version, please FTP the filepub/usenet/INN.BETA from cronus.bbn.com for directions.  It will be afairly tightly-screened beta:  DO NOT ASK ME FOR COPIES!  Once the systemis stable, it will be freely redistributable.  I hope to have the officialrelease by August 7, so that schools can bring the system up before thesemester starts.	/rich $alz-- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.Use a domain-based address or give alternate paths, or you may lose out.Thanks for your interest in InterNetNews.  I want to run a fairlytightly-controlled beta test of the software before I make it generallyavailable.  This means that I'm going to screen the sites which will beable to participate in the test.  Please don't be offended or upset bythis whole procedure.  I want to make the final package as stable as soonas possible so that the entire net can benefit (it will be freelyredistributable).  I've set up this mechanism because I think it's thebest way for me to get the best test results as quickly as possible.I would therefore appreciate your answers to the following questions.If you think the answers to some of them will be obvious to me (e.g.,"Describe your organization" --> "UUNET" :-) then feel free to leave itblank.  If you have any other feedback or comments, please add them.Email your results to <rsalz@bbn.com>	/r$What software (transport, batching, readers, etc.) do you currently run?How much experience do you have with Usenet and NNTP?Describe your organization.How do you plan on testing InterNetNews?  Be specific, describing themachine hardware, any test servers, etc.  [The answers to this onewon't be obvious to me -- you gotta write something.]What are the rough counts of the upstream and downstream feeds, and how dothey break down by category (UUCP, NNTP, etc.)?What special news functions does your server perform (gatewaying,archiving, etc.)?Do you understand that by participating in the beta-test you agree not toredistribute the software outside of your administrative domain, and thatyou promise to upgrade to the official release in a timely manner?From: Rich Salz <rsalz@uunet.uu.net>Message-Id: <inn-announce@uunet.uu.net>Newsgroups: news.software.b,news.protocols.nntpSubject: Announcing the release of InterNetNewsI am pleased to announce the official release of InterNetNews.InterNetNews, or INN, is a news transport system.  The core part of thepackage is a single long-running daemon that handles all incoming NNTPconnections.  It files the articles and arranges for them to be forwardedto downstream sites.  Because it is long-running, it can be directed tospawn other long-running processes, telling them exactly when an articleshould be sent to a feed.INN is a complete Usenet system.  It provides article expiration andarchiving, NNTP transport, and UUCP support.  Nntplink works fine.INN does not include a newsreader.  It does provide a version of the NNTPreference implementation "clientlib" routines so that rrn and othernewsreaders compile with little trouble.  The next release of xrn willinclude INN support.The spool directory is unchanged while the history database isupwardly-compatible with that of C News and the log file is very similar.All system configuration files are different.INN assumes that memory is cheap and fast while disks are slow.  Notemporary files are used while incoming articles are being received, andonce processed the entire article is written out using a single systemcall (this includes updating the Path and Xref headers).  The active fileis kept in memory, and the newsfeeds file is parsed at start-up to build acomplete matrix of which sites receive which newsgroups.  A paperdescribing the implementation was presented at the June 1992 Usenixconference.INN uses many features of standard BSD sockets including non-blockingI/O.  It is highly doubtful that the official version will ever providesupport for TLI, DECNET, or other facilities.  Among others, INN betasites include ATT Unix System V Release 4, Apple A/UX, BSDI BSD/386 0.3.3,DEC Ultrix 3.x and 4.x, HP-UX s800 8.0, IBM AIX 3.1 and 3.2, Next NeXT-OS2.1, Pyramid OSx 5.1, SCO Xenix 2.3.4, SGI Irix 4.0, Sequent Dynix 3.0.4and 3.0.12, and Sun SunOS 3.5 and 4.x.Almost all of the beta-testers have reported faster performance and lessload once they installed INN.  Many people find it easy to maintain.A number of sites have graciously agreed to provide FTP access to thisrelease.  The machine names and directories are listed below.  Withinthose directories you will find one or more of the following files:	README			Intro and unpacking instructions;	 -or-			a copy appears at the end of this	README.INN		article.	inn1.0.tar.Z		The full distribution	inn.usenix.ps.Z		The Usenix paper on INNThe sites providing access are:	cs.utexas.edu		/pub/inn	ftp.cs.widener.edu	/pub/inn.tar.Z (or wherever).	ftp.germany.eu.net	/pub/news/inn	ftp.ira.uka.de		pub/network/news	ftp.msen.com		/pub/packages/inn	ftp.uu.net		/pub/news/nntp/inn	gatekeeper.dec.com	/pub/news/inn	grasp1.univ-lyon1.fr	/pub/unix/news/inn	munnari.oz.au		/pub/news/inn	sparky.Sterling.COM	/news/inn	src.doc.ic.ac.uk	/computing/usenet/software/transport	stasys.sta.sub.org	/pub/src/inn	    (Stasys also has anonymous UUCP; contact <fkk@sta.sub.org>.	ucsd.edu		/INN	usc.edu			/pub/innDiscussion about INN should be posted to news.software.b andnews.software.nntp.  Email should be sent to <rsalz@uunet.uu.net>.  Pleasedo NOT send it to <rsalz@osf.org> -- it will only just delay your responsesince I will have to forward it to UUNET.The README follows after the formfeed.	/r$

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?