🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21732

Re: *NEW* News Server Software!

#21732
From: Dave Barr
Date: Fri, 19 Sep 1997 00:00
37 lines
1754 bytes
In article <5vueci$plt$1@samba.rahul.net>,
Rahul Dhesi <c.c.eiftj@84.usenet.us.com> wrote:
>Essentially every standard UNIX program uses this model, and most were
>conceived and written long before inn existed.  Why is it ridiculous to
>expect to be able to continue using them in a News context?

Why is it rediculous to use simply a different I/O library?

Instead of (to use Perl syntax cause it's on my mind right now):

open(FOO,"alt/sex/bondage/12531");
while (<FOO>) {
	# do stuff
}
close(FOO);

Just do:

OpenSpool(FOO,"alt.sex.bondage:12531"); # or OpenSpool(FOO,"<big.orgy@12345>");
while (<FOO>) {
	# do stuff
}
close(FOO);

If the latter (in combination with a different filesystem) will give you
an order of magnitude performance improvement, why not do it?  The
code is very much the same with either technique.  INN already uses
its own I/O API layer already.  It's just a matter of substituting
another one.

--Dave
-- 
http://www.cis.ohio-state.edu/~barr/
barr@cis.ohio-state.edu

Technical Details
Message-ID: <5vugtaINNmkv@stumble.cis.ohio-state.edu>
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: <5vpddn$qlb$1@news5.ais.net> <5vt5ha$hrp$1@samba.rahul.net> <34227761.C35D417@spinne.com> <5vueci$plt$1@samba.rahul.net>

Show Full Headers
Complete Article Headers
Message-ID: <5vugtaINNmkv@stumble.cis.ohio-state.edu>
Subject: Re: *NEW* News Server Software!
Date: Fri, 19 Sep 1997 00:00:00 +0000
From: barr@stumble.cis.ohio-state.edu (Dave Barr)
References: <5vpddn$qlb$1@news5.ais.net> <5vt5ha$hrp$1@samba.rahul.net> <34227761.C35D417@spinne.com> <5vueci$plt$1@samba.rahul.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
X-Deja-AN: 273880800
Distribution: inet
Organization: The Ohio State University, Department of Computer and Information Science
Newsgroups: news.software.nntp