🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27472

Re: A Rant

#27472
From: Russ Allbery
Date: Sat, 04 Apr 1998 00:00
20 lines
1495 bytes
Jeremy <jeremy@exit109.com> writes:

> If you make the history a db file, you can have filter_post open, lock,
> read, modify, and close on each post.  Then your history is persistent
> and systemwide.  I'm not sure how well it would scale though.

Not well.  For one thing, you're loading a dynamic library for a
connection the first time they post, which is going to take a bit.  For
another thing, locking is inherently evil just in general.  For a third
thing, you have to worry about the type of locking you're doing, breaking
dotlocks if you use them, etc.

Andrew's got a good point; just dealing with the multiple-post problem in
INN's filter is probably the best move.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <m3ogygvkca.fsf@windlord.Stanford.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: <m3afabnmvf.fsf@windlord.Stanford.EDU> <lzysonsvpd9.fsf@babylon5.unity.ncsu.edu> <m367kox397.fsf@windlord.Stanford.EDU> <87btug9685.fsf@erlenstar.demon.co.uk> <JWEV.6$4J5.415@firestorm.gunslinger.net>

Show Full Headers
Complete Article Headers
Message-ID: <m3ogygvkca.fsf@windlord.Stanford.EDU>
Subject: Re: A Rant
Date: Sat, 04 Apr 1998 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <m3afabnmvf.fsf@windlord.Stanford.EDU> <lzysonsvpd9.fsf@babylon5.unity.ncsu.edu> <m367kox397.fsf@windlord.Stanford.EDU> <87btug9685.fsf@erlenstar.demon.co.uk> <JWEV.6$4J5.415@firestorm.gunslinger.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: 341010027
Sender: eagle@windlord.Stanford.EDU
Organization: The Eyrie
Newsgroups: news.software.nntp