Article View: news.software.nntp
Article #40687Re: Diablo debugging problems...
From: Russ Allbery
Date: Fri, 08 Oct 1999 00:00
Date: Fri, 08 Oct 1999 00:00
39 lines
2529 bytes
2529 bytes
Joe Greco <jgreco@ns.sol.net> writes: > Fantastic, another Stupid Incompatible Filter Interface. I'm already > trying to get rid of the gratuitously incompatible INN filter interface. Joe, no offense intended, but it's hardly like someone implemented a standard filter API and then INN broke with it. More the other way around, although it's pretty hard to do things the way INN does them in other servers. > I'd love to see one common filter API, common to Cyclone/Diablo/INN/ > NNTPRelay/etc. If the Cyclone API is so lacking, maybe it is just time > to hammer out a new common API. I'm sure some INN hackers here would > rise to the challenge. It would surprise me if folks working on INN would be interested in standardizing on a filter interface that's slower than what INN has already, which is a real problem for every other filter interface that I've seen proposed. If you really want to do this, I'd recommend writing the code that gets the article, parses it, and provides the parsed article to the filter, write that in as optimized fashion as possible, and have that be server dependent. Then the filter API would look a lot like the one that INN already provides, which is pretty close to ideal for the author of a filter since they just get handed an already parsed article and don't have to reproduce that work themselves in every separate filter that they write. INN could then embed the filter directly, Diablo could use a C program that embedded or linked with the filter (you could write the common code as a library and have filters link with it, for example, to support the C filters that you want), a future threaded server could run the filter in its own thread, etc. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylr9j5m9n5.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-mailReferences:
<brad-0110991517500001@brad.techos.skynet.be> <yln1twf21z.fsf@windlord.stanford.edu> <brad-0710991318130001@brad.techos.skynet.be> <37fe9461$0$11999@master.news.zetnet.net> <37fec25d$0$11285@news.execpc.com>Show Full Headers
Complete Article Headers
Message-ID: <ylr9j5m9n5.fsf@windlord.stanford.edu> Subject: Re: Diablo debugging problems... Date: Fri, 08 Oct 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <brad-0110991517500001@brad.techos.skynet.be> <yln1twf21z.fsf@windlord.stanford.edu> <brad-0710991318130001@brad.techos.skynet.be> <37fe9461$0$11999@master.news.zetnet.net> <37fec25d$0$11285@news.execpc.com> 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: 534583681 Organization: The Eyrie Newsgroups: news.software.nntp