Article View: news.software.nntp
Article #37235Re: Abandoning uniover - but how?
From: cmsedore
Date: Tue, 04 May 1999 00:00
Date: Tue, 04 May 1999 00:00
81 lines
5123 bytes
5123 bytes
In article <7gl2qc$4s1i$1@newssvr03-int.news.prodigy.com>, davidsen@tmr.com (bill davidsen) wrote: > Let me throw up a few thoughts about overview. > > 1 - Any method which does not have overview in handy chunks ready for > sending to the client is going to have both high overhead and poor > performance to XOVER, relative to "one file in wire format" as was done > in 1.x. The effect is probably in proportion to the size of the range > being requested. > > 2 - Any method which does not have the overview asynchronous with the > articles will generate phantom missing articles for the readers, in > which the articles available from active don't match the articles > available from overview. The client sees no overview for recent posts > and assumes them canceled. The reader never sees them. > > 3 - any overview method which doesn't process cancels asynchronously will > generate requests for missing articles. For my readers at least, this is > a source of a lot of irritation. This applies to expire as well, > overview should exactly match the articles available. [I assume you meant synchronous/ly above in 2/3] Allow me to offer what I did in tortoise. I wrote the overview entries (sans number) for each article ahead of the article in the article store. This meant that I could grab them anytime I wanted for any group to which it was posted by just looking it up. In addition, I wrote an overview caching mechanism, which operates in one of two ways. The more traditional way is that it prebuilds data for each group as it receives articles. It writes the cached data (the entire overview range) into a cyclical store, in blocks which are sized on 16k intervals. New articles are appended until the whole allocated space is full, then the whole block is rewritten to the current position in the store. It also can be set to rewrite the whole block periodically. In most cases, the overview cache store is rewritten by reading in the current cache block, keeping the useful entries and tossing the rest (rather than seeking all over creation to get the entries from the article stores). Updates happen in-place unless the current pointer is near, in which case they're appended to the current position in the store. Overview entries are always available from the article store, so even if they're not in the cache, they'll be pulled off disk so there's no gap. The other way that it can operate is to only cache overview information for groups which are read. After the first xover, the overview cache is maintained until it expires (by being overwritten in the cyclical store). This methodology is extremely fast and resource efficient if you have somewhat consistent group readership patterns. > 4 - expire has got to be replaced by some process which can be run > continuously. This applies to history and overview, and will allow more > scaling of news. Fortunately, this isn't causing major user visible > problems now, but it does suggest that if a history solution could be > bundled with an expire solution life might be better for news admins. Overview expiration in the above scheme is automatic. I've gone to a cyclical history storage methodology, so I don't worry much about that. > 5 - It is highly desirable to have overview able to accept articles in > an arbitrary order. This facilitates both xrefslave feeds and any future > multi threaded incoming feed scheme, in that as long as article numbers > are unique there is not a significant performance penalty. My scheme doesn't do so well with this. If the cache code is asked to append something that's not the next article in the sequence, it overwrites the whole block to keep things consistent. Sub-optimal, but functional. > I have some thoughts on addressing these points, but I'm going to wait > and see if some other folks will either propose solutions or convince me > that these aren't the real problems. I'd like to hear your thoughts as well... -Chris cmsedore@maxwell.syr.edu -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Technical Details
Message-ID:
<7glht1$2ag$1@nnrp1.dejanews.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:
<7f5p31$vmq$1@news.netmar.com> <7g5b88$pi$1@twwells.com> <19990428114141.388$tD@newsreader.com> <7g87un$eob$1@twwells.com> <7gl2qc$4s1i$1@newssvr03-int.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <7glht1$2ag$1@nnrp1.dejanews.com> Subject: Re: Abandoning uniover - but how? Date: Tue, 04 May 1999 00:00:00 +0000 From: cmsedore@my-dejanews.com References: <7f5p31$vmq$1@news.netmar.com> <7g5b88$pi$1@twwells.com> <19990428114141.388$tD@newsreader.com> <7g87un$eob$1@twwells.com> <7gl2qc$4s1i$1@newssvr03-int.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-mail X-Deja-AN: 473708548 X-Http-Proxy: 1.1 x1.dejanews.com:80 (Squid/1.1.22) for client 128.230.135.237 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue May 04 01:18:27 1999 GMT Newsgroups: news.software.nntp X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)