Article View: news.software.nntp
Article #20697Re: crosspost.c quick performance hack (?)
From: Alexis Rosen
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
36 lines
1988 bytes
1988 bytes
mibsoft@epix.net (Forrest J. Cavalier III) writes: >In article <5spjtt$ggt$1@samba.rahul.net>, c.c.eiftj@65.usenet.us.com wrote... >>An article cross-posted to many newsgroups causes many system calls: one >>link or symlink for each newsgroup. Below is a quick mod to crosspost.c >>from (inn 1.5.1 + patches) to add a -G flag to cause no more than the >>specified number of links to be created for an article. Then the >>article will appear to have expired in all other newsgroups. I don't >>know yet just how much of a performance win this will be. >> >>I guess you could run two instances of crosspost, thus: >> >> crosspost!:*,!alt.sex*:Tc,Ap,WR:/somewhere/bin/crosspost -s >> crosspost!:alt.sex*:Tc,Ap,WR:/somewhere/bin/crosspost -s -G 2 >> >[snip of diff] >1. Not creating links is asking for trouble. If you are running >overview, your users will complain a lot because they will see >articles in the list, with recent dates which they can't get. >I think you run a risk of confusing expire. No, it's perfectly happy to ignore missing articles. (At least, fastrm is. I can't imagine anyone running without fastrm these days.) >But stepping back from the problem, why do you want to prevent >crossposts this way? If you think the article has too many >crossposts, then drop it. Heh. I have to agree with this... /a
Technical Details
Message-ID:
<5tbqrm$d5c@panix4.panix.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-mailReferences:
<5spjtt$ggt$1@samba.rahul.net> <5sq0tn$fgs$1@news1.epix.net>Show Full Headers
Complete Article Headers
Message-ID: <5tbqrm$d5c@panix4.panix.com> Subject: Re: crosspost.c quick performance hack (?) Date: Tue, 19 Aug 1997 00:00:00 +0000 From: alexis@panix.com (Alexis Rosen) References: <5spjtt$ggt$1@samba.rahul.net> <5sq0tn$fgs$1@news1.epix.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: 267892056 Distribution: inet Organization: PANIX Public Access Internet and Unix, NYC Newsgroups: news.software.nntp