Thread View: news.software.readers
4 messages
4 total messages
Started by David desJardins
Wed, 09 Apr 1997 00:00
Re: Not a problem, a curiosity
Author: David desJardins
Date: Wed, 09 Apr 1997 00:00
Date: Wed, 09 Apr 1997 00:00
18 lines
1387 bytes
1387 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> writes:
> Another reason to keep Xref: without it, you can't efficiently killfile
> crossposts.
For that purpose it would be much better to have Newsgroups: than
Xref:. The problem with using Xref: to kill crossposts is that you
can't kill messages based on postings to groups your system doesn't
receive. I find that this is very frequently exactly what I want to do:
those are junk groups, which is why I don't receive them, which is why I
don't want to see articles crossposted from them.
David desJardins
--
Copyright 1997 David desJardins. Unlimited permission is granted to quote
from this posting for non-commercial use as long as attribution is given.
Xref in overview Pros and Cons (was Re: Not a problem, a curiosity)
Author: Danhiel Baker
Date: Wed, 09 Apr 1997 00:00
Date: Wed, 09 Apr 1997 00:00
92 lines
5192 bytes
5192 bytes
I've received a couple of email replies to my question about the effects of removing Xrefs from the overview files. Both mentioned that Trn makes use of this, and I've had "user feedback" that if you are using Trn on a system that goes from supporting Xrefs to not supporting them, Trn gets very confused and thinks all of the articles have disappeared - apparently IF Xrefs should exist THEN Trn does an 'xhdr xref <range>' and expects at least: 221 xref fields follow 1234 (none) 1235 (none) .. which would signify that the individual articles in question lack Xref headers. If you don't have "Xref:full" in your overview.fmt, however, the response is just 221 xref fields follow .. Trn thinks (incorrectly and rather rashly, IMO) that those articles must have been expired, and ditches them. Aside from the niceness of "chasing Xrefs", I'd personally have been checking 'xhdr references' and go ahead and build my threaded list while verifying what exists and what doesn't; after that's retrieved, pull down Xrefs and kill already-seen or -read articles. (Wayne Davison, are you listening? Assuming you still maintain Trn... :) As far as I can tell, you can't do: XOVER 1233,1236-1238,1240-1252 anyway, so finding small gaps by asking for Xrefs doesn't seem to be more useful than going straight for actually useful threading info with XOVER or XHDR references. Anyway, here's the rub - in today's Usenet, with insanely-crossposted articles (mainly SPAMed sex-site adverts), Xrefs take up a heck of a lot of space. How much, you ask? Well, a quick check of my alt.binaries.pictures .overview file showed that the average line length _with_ the Xref header was just over 650 chars; after pruning it from each one, the average line length was 160 chars. That's a 400% swelling of the file, which will result in slower performance for all users accessing the group. INN's nnrpd (in my copy of 1.4unoff4, at least) relies on the .overview file to determine the article count - the active file is untouched (which REALLY boggled me the first time it was pointed out to me in a truss, and still seems mildly odd - nothing in the config.data seems to relate to this, but maybe I overlooked it...). This means the entire (possibly bloated with Xrefs) .overview is read in just to get the high and low water marks. And it's not cached, as near as I can tell; this means that first off, the .overview (which can be sizeable) is opened and read end-to-end to reply to a 'group alt.blah' command with an article count and high/low marks. I'm unsure whether or not this actually counts the articles or generates the difference based on the high and low marks. I'd prefer a guess at the number of articles and fast retrieval over a possibly slow but precise article count. Then, of course, a reader will typically pull down the headers it's interested for the range it's interested in. That's another open and reads on the .overview, but this time the results may be being passed to someone on the end of a 28.8 line. I know that some of our .overview files are over a megabyte. Even in "manageable chunks", this adds up to a fair amount of time for a modem user with a reader doing an XOVER. In the end, is it worthwhile to provide Xref information in the overview files when compared to the bloating (400%?!?) it causes (primarily) in the binary groups which increases: disk space usage the number of blocks read/written/opened when accessing the overview file donwload time for modem users w/reader software using 'XOVER' With the possible benefits of: killfile overly-crossposted articles (but you could use other headers) properly "chase Xrefs" when marking an article/thread/group unread without opening the article(s) in question keep at least one version of Trn happy (very important in some environs) As you probably have guessed, I have come to think Xrefs in the overview are burdensome and that their meager benefits don't outweigh their resource costs to the system and the users. I'm not sure that expireover runs any faster overall without the Xref headers, but I'd bet it makes it through alt.binaries more quickly. Hopefully this will stir up some interest; if I've missed something, please point it out. Danhiel Baker Chief SysAdmin, Supernews
Re: Not a problem, a curiosity
Author: Greg Berigan
Date: Wed, 09 Apr 1997 00:00
Date: Wed, 09 Apr 1997 00:00
35 lines
2451 bytes
2451 bytes
In news.software.readers, desj@ccr-p.ida.org (David desJardins) wrote:
>Andrew Gierth <andrew@erlenstar.demon.co.uk> writes:
>> Another reason to keep Xref: without it, you can't efficiently killfile
>> crossposts.
> For that purpose it would be much better to have Newsgroups: than
> Xref:. The problem with using Xref: to kill crossposts is that you
> can't kill messages based on postings to groups your system doesn't
> receive. I find that this is very frequently exactly what I want to do:
> those are junk groups, which is why I don't receive them, which is why I
> don't want to see articles crossposted from them.
It's a tradeoff: do you want to kill crossposts to groups that don't
exist, or do you want all your killed crossposts to take longer because
they had to track down the references by downloading the headers of each
article to get the Xrefs, which is what will happen if the Xref headers
aren't given by XOVER.
Also, checking for even the presence of the Xref header is a lot quicker
than checking the contents of every Newsgroups header. But if you want
to kill crossposts to groups that don't exist on your server, you are
going to have to check the contents of every Newsgroups header, because
an article could be posted to one group you do carry and to 50 groups
you don't, but an Xref header won't be generated. (Or is it?)
--
_-<#)-=# http://cse.unl.edu/~gberigan/War-of-the-Worlds.html
___/___
_-~_--<###) "Take a look around you at the world we've come to know
<~c>' __--< Does it seem to be much more than a crazy circus show
\_--=____#) Maybe from the madness something beautiful will grow...."
Re: Xref in overview Pros and Cons (was Re: Not a problem, a curiosity)
Author: Wayne Davison
Date: Thu, 17 Apr 1997 00:00
Date: Thu, 17 Apr 1997 00:00
33 lines
2034 bytes
2034 bytes
According to Danhiel Baker <danhiel@moreinfo.com>:
> If you don't have "Xref:full" in your overview.fmt, however,
> the response is just
>
> 221 xref fields follow
> .
This is a bug. I just glanced through the inn 1.5.1 source and it
looks like this bug has been fixed -- is this true? Or does inn
1.5.x still fail to handle this properly?
> Trn thinks (incorrectly and rather rashly, IMO) that those articles
> must have been expired, and ditches them.
What?! Trn thinks CORRECTLY and PROPERLY that the articles must have
vanished because that's what the news server just told trn -- no
articles in that range exist. If they did, their numbers would have
been returned with "(none)" for the header. After all, if the
article has just been expired or canceled, trn might as well make
use of this information rather than ignoring it. However, I've just
added an option to trn 4's news-server config file ("access") that
can mark a server as having a broken XHDR command. If you're on one
of the trn mailing lists, you'll soon see a release announcement for
a release that will contain this fix.
It is also possible to run trn with the "-o" option that tells it
you don't want to chase xrefs when you kill articles in the selector.
That way trn doesn't try to grab all the xrefs using XHDR.
..wayne..
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads