Article View: news.software.nntp
Article #41265Re: INN history API (was: NoCeM & INN2.3)
From: bill davidsen
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
91 lines
5561 bytes
5561 bytes
In article <ylk8o0l9zd.fsf_-_@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | > In particular I regularly get a request to refeed the last half day | > worth of articles or something, and being able to grab the cookie for sm | > right out of the file is vastly useful. | | newsrequeue is supposed to be able to do something like this in a much | cleaner fashion, but looking at the code, it looks rather... incomplete. | Hm. Should go bang on that some when I have some free time, since an | automated tool to do this would be kind of nice. I believe newsrequeue only requeues things for site to which you have a current feed, and it beats hell out of the systems trying to decide what to feed using normal feed rules. I most cases where I'm doing this type of ad-hoc transmit, there may be no normal feed defined between the machines. Catching up one reader server from another comes to mind, my spiffy little tool starts with begin and end dates and just feeds everything I have between those times. Crude, but *very* low impact. | > Of course having the group name in the old format made it easy to | > reoffer just one group, but I have tools for that now, as well. | | Should be possible to do this quite nicely in INN 2.3, since more time | information about the article will be in the overview file so you can just | walk the overview entries for a group and build a batch file from that. Yes, I wrote getover to allow sucking an overview file from the command line. Then I can either push the articles from one end or suck them from the other, depending on the situation. Nice to have stuff on overview, and with 2.3 overview is much faster. And the -i and -s options on grephistory are still highly useful, as they make it trivial to do a backup feed as needed. If only the -l option worked with -i ;-) | > I would like any history form which eliminated rebuilding everything in | > expire. | | I'm not sure this is actually as big of an advantage as people seem to | feel it is, but I haven't played around with it much either. Never having | to throttle sounds nice, but it actually makes life a lot easier for a lot | of different things to be able to do a fresh rebuild of indexes. But there are lots of problems with it, not least of which is the memory and storage it takes to do expire. More and more I would like to run my news readers as a steady state process, and with CNFS eliminating the need to do file deletes, history and overview become the limits. When the bugs get out of the cyclic overview, hopefully that problem will be addressed, leaving only history. | | > However, I think a real database, allowing deletes, would be superior in | > some ways, | | Yes, but real databases that are capable of handling 500 queries per | second on low-end hardware are a bit hard to come by, whereas dbz is doing | that right now. I'm not disagreeing, just saying that this is a hard | problem. I'm playing around with some ideas for solutions; going to a | binary file format will help most of them. Other than making the history file smaller and postoning addressing of the max file size issue, I wouldn't expect a huge gain. A hashed lookup of a message-id isn't going to be significantly faster in binary. I would like to see some solution which allowed history to be in multiple files, bypassing issues of file size limits. | I'm not clear at this point whether the history API work will be for 2.3 | or for 2.4; it depends on how long it takes me to get to it. Right now, | I'm still at the stage of throwing out ideas and getting a clear picture | of the requirements. I have several things in the hopper for 2.4 that are | roughly at that stage, and some things that will probably make it into | 2.3. Right now, the actual work I'm doing is mostly aimed at cleaning up | the build system. I would hope that any change in history file format would go in 2.4, since 2.3 has many useful features and is quite stable at the moment (modulo any given day). The new API is a good long term solution, but it does push production use of 2.x out by the time to regen whatever tools are critical at a given site. Given the time it took to steal minutes to rewrite tools to live with storageapi and CNFS, I have to think it might be measured in weeks if not months. Admin time is in shorter supply than other resources. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Technical Details
Message-ID:
<7vq298$9h3$1@newssvr02.news.prodigy.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:
<3819A774.9C57FDCA@boerde.de> <yl7lk3llie.fsf@windlord.stanford.edu> <7vnr5c$h3k$1@newssvr02.news.prodigy.com> <ylk8o0l9zd.fsf_-_@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <7vq298$9h3$1@newssvr02.news.prodigy.com> Subject: Re: INN history API (was: NoCeM & INN2.3) Date: Wed, 03 Nov 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <3819A774.9C57FDCA@boerde.de> <yl7lk3llie.fsf@windlord.stanford.edu> <7vnr5c$h3k$1@newssvr02.news.prodigy.com> <ylk8o0l9zd.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: 544069240 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr02.news.prodigy.com 941657192 9763 199.4.137.118 (3 Nov 1999 19:26:32 GMT) Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com