Article View: news.software.nntp
Article #40720Re: Diablo debugging problems...
From: Andrew Gierth
Date: Sat, 09 Oct 1999 00:00
Date: Sat, 09 Oct 1999 00:00
30 lines
2295 bytes
2295 bytes
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes: Russ> My opinion is that the Highwind external filter interface is Russ> the *worst* case for a filter interface; Have you ever tried to embed Perl into a threaded program? So far I know only one person who has, and it's caused him _major_ problems. I have a filter interface (not currently used in any transit code, but used in other contexts) that is based on shared memory and pipes. It allows for a certain degree of pipelining between the server and the filter, and it also allows for a common filter interface for both local-post type filters that might need to modify the headers, and transit filters which merely signal accept/reject(reason). Interfacing to it takes about 8 lines of Perl, which could be moved into a module along with header-parsing etc. if need be; that might allow for more optimisation than I currently use (e.g. eliminating a memory-to-memory copy of the article). At this stage, if I were writing a new server, this is the only style of interface I would consider feasible. If anyone is interested I will write it up and post it. -- Andrew.
Technical Details
Message-ID:
<87hfk16n7j.fsf@erlenstar.demon.co.uk>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> <ylr9j5m9n5.fsf@windlord.stanford.edu> <87r9j56qmt.fsf@erlenstar.demon.co.uk> <yl905d5al5.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <87hfk16n7j.fsf@erlenstar.demon.co.uk> Subject: Re: Diablo debugging problems... Date: Sat, 09 Oct 1999 00:00:00 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> 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> <ylr9j5m9n5.fsf@windlord.stanford.edu> <87r9j56qmt.fsf@erlenstar.demon.co.uk> <yl905d5al5.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 X-Deja-AN: 534611298 X-Mayan-Date: Long count = 12.19.6.10.16; tzolkin = 3 Cib; haab = 4 Yax X-Complaints-To: andrew@erlenstar.demon.co.uk Organization: disorganised X-Attribution: AG X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-P-Persistent-Headers: are a bad idea. Newsgroups: news.software.nntp X-Post-Filter: postfilter v0.6 alpha