Article View: news.software.nntp
Article #21148YOUHAVE transaction and speeding up nocem's
From: brian moore
Date: Mon, 01 Sep 1997 00:00
Date: Mon, 01 Sep 1997 00:00
34 lines
2183 bytes
2183 bytes
I played with c-nocem a bit, but found it rather annoying: it likes pausing the server to process its mods to the history database, which of course kills any connections trying to deliver articles and is generally annoying to peers. Now, since INN really doesn't want to give up its control of history, and since I am too lazy to figure out record locking on dbz files (locking individual hash chains while its updating), I thought of something truly trivial that should work fine: Hack c-nocem to open a channel to inn (as ctlinnd does) and use that to pass the message ID's to cancel. Keeping it internal to INN would allow news to keep coming in, no long pauses while it waits for each feed to close down, etc. I don't know if the existing channel would handle multiple IDs as it stands (I don't think it would), but it seems like allowing a stream of message ID's to toast would speed up nocem processing immensely unless I missed something obvious. INN could just process them like it does a cancel then, marking it in the dbz, but with no actual message to process (parse/save/output), just a stream of 'YOUHAVE' transactions to mark things in the history. The rm'ing of the spool for anything that may have arrived can be handled outside of inn of course, to let it process news. Anything obvious I've missed (assuming the above is clear :))? -- Brian Moore The opinions expressed above are my own, not Sysadmin, C/Perl Hacker necessarily my employers'.
Technical Details
Message-ID:
<5ud3lb$grv$1@news.cmc.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-mailShow Full Headers
Complete Article Headers
Message-ID: <5ud3lb$grv$1@news.cmc.net> Subject: YOUHAVE transaction and speeding up nocem's Date: Mon, 01 Sep 1997 00:00:00 +0000 From: bem@news.cmc.net (brian moore) 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: 269267984 Distribution: inet X-Complaints-To: abuse@cmc.net X-Trace: news.cmc.net 873075179 17279 (None) 206.102.31.253 Organization: Chambers Multimedia Connection Reply-To: bem@news.cmc.net Newsgroups: news.software.nntp