Thread View: news.software.nntp
4 messages
4 total messages
Started by Russell Senior
Fri, 17 Dec 1999 00:00
Relative expense of XHDR vs XOVER
Author: Russell Senior
Date: Fri, 17 Dec 1999 00:00
Date: Fri, 17 Dec 1999 00:00
28 lines
1643 bytes
1643 bytes
I have written a tool in C that extracts `Message-ID' and `Date' headers from NNTP server. The tool, called `Snorkelator', is a component in a script I am using to compare article coverage between various news servers I have access to. Presently, Snorkelator does the following: GROUP <TARGET-GROUP> to get the article range XHDR Date <ARTICLE-RANGE> to get the dates, converting to Calendar time XHDR Message-ID <ARTICLE-RANGE> to get the Message-ID's by article number Now I am wondering if maybe XOVER might be a better choice, since it will traverse the articles only once. The flipside is that XOVER will generate more data to transmit. Any ideas on the relative expense of these commands on news server software? Do all the common implementations provide both XHDR and XOVER? I only have access to Typhoon v1.2.1 and DNEWS Version 5.3c7 at the moment. Thanks for any insight! -- Russell S. Senior russell@klickitat.com
Re: Relative expense of XHDR vs XOVER
Author: Alternative Fluffy
Date: Fri, 17 Dec 1999 00:00
Date: Fri, 17 Dec 1999 00:00
35 lines
2525 bytes
2525 bytes
Russell Senior <russell@klickitat.com> wrote: [...] > Presently, Snorkelator does the following: > GROUP <TARGET-GROUP> to get the article range > XHDR Date <ARTICLE-RANGE> to get the dates, converting to Calendar time > XHDR Message-ID <ARTICLE-RANGE> to get the Message-ID's by article number > Now I am wondering if maybe XOVER might be a better choice, since it > will traverse the articles only once. The flipside is that XOVER will > generate more data to transmit. When accessing headers present in the overview, it's common practice for servers to fetch them from the overview database rather than the actual article. Since the overview is designed to work very cheaply, you aren't adding much load by using two XHDRs instead of one XOVER. If you find that you need to grab more than a couple headers, or one of the longer headers like Xref: or References:, then you are already grabbing a large amount of the overview data and should start looking at using XOVER. > Any ideas on the relative expense of these commands on news server > software? Do all the common implementations provide both XHDR and > XOVER? These commands have both been around for about a decade, so at this point it's fairly safe to depend on them being available. Note, however, that they are still technically nonstandard extensions. If you want to assure that your program works with ancient or obscure -- yet fully standard -- implementations, you might want to consider offering the use of HEAD as an option.
Re: Relative expense of XHDR vs XOVER
Author: Nickolai Zeldovich
Date: Sat, 18 Dec 1999 00:00
Date: Sat, 18 Dec 1999 00:00
24 lines
1549 bytes
1549 bytes
In article <86so11qi4d.fsf@coulee.tdb.com>, Russell Senior wrote: >Any ideas on the relative expense of these commands on news server >software? In Diablo's dreaderd, doing two XHDR's will likely generate more server load than a single XOVER. Both XHDR and XOVER will scan all headers for the specified articles in the group and then return either just the header you specified, or return them in XOVER format. Of course this is entirely implementation specific; one could easily make a news server which would perform significantly faster on XHDR queries compared to XOVER's. But in reality, I think doing a single XOVER is likely to be faster in most cases. IMHO. >Do all the common implementations provide both XHDR and XOVER? It looks like Diablo's dreaderd, INN, and Tortoise (reader server software from NNTPrelay folks) all support it, FWIW. -- Nickolai Zeldovich.
Re: Relative expense of XHDR vs XOVER
Author: Brad Knowles
Date: Sat, 18 Dec 1999 00:00
Date: Sat, 18 Dec 1999 00:00
24 lines
1888 bytes
1888 bytes
In article <86so11qi4d.fsf@coulee.tdb.com>, Russell Senior
<russell@klickitat.com> wrote:
> I have written a tool in C that extracts `Message-ID' and `Date'
> headers from NNTP server. The tool, called `Snorkelator', is a
> component in a script I am using to compare article coverage between
> various news servers I have access to.
I wrote a similar tool in Perl a while back, and I think I used
XOVER. I haven't released this tool because I don't want to cut into
the business that Forrest has at Mib Software, because frankly I think
he's got a much better service than I could ever write a tool to cover.
However, if there are going to be multiple similar tools or services
along these lines, then perhaps I might want to reconsider that.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
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