🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Jon Bell Wed, 08 Mar 1995 19:41
XOVER and XROVER?
#3441
Author: Jon Bell
Date: Wed, 08 Mar 1995 19:41
19 lines
1666 bytes
I'm preparing to update our news software (to the C News Cleanup Release
and nntp-1.5.12), and at the same time switch from using threads to 
overviews with trn 3.6.  (Just to keep me occupied over spring break...)

The nntp server configuration has options for both overviews (XOVER 
command) and reference-overviews (XROVER command).  Do I want just XOVER 
or do I want both XOVER and XROVER?  I can't find any mention of 
reference-overviews in the C News docs or the trn docs, but then my brain 
could simply be rebelling against trying to juggle three sets of source 
code and docs.

If I do want both XOVER and XROVER, should I put the two types of files 
in separate directories, or can I just stick them in the same directory 
tree (separate from the actual articles, of course... I did see advice to 
that effect somewhere)?

-- 
Jon Bell <jtbell@presby.edu>                        Presbyterian College
Dept. of Physics and Computer Science        Clinton, South Carolina USA
Re: XOVER and XROVER?
#3465
Author: Henry Spencer
Date: Thu, 16 Mar 1995 03:27
14 lines
1511 bytes
In article <D5500z.7Dp@presby.edu> jtbell@presby.edu (Jon Bell) writes:
>The nntp server configuration has options for both overviews (XOVER 
>command) and reference-overviews (XROVER command).  Do I want just XOVER 
>or do I want both XOVER and XROVER?  I can't find any mention of 
>reference-overviews in the C News docs or the trn docs...

Well, the reason you don't find any mention of them in the C News docs
is that I'd never heard of them.  And unless I hear some really good
arguments for them, they aren't going into C News.  The whole point of
the overview business was to define *one* database format; I see no
compelling reason to add another, and plenty of reasons not to.
-- 
There is a difference between                      |       Henry Spencer
cynicism and skepticism.                           |   henry@zoo.toronto.edu
Re: XOVER and XROVER?
#3480
Author: Wayne Davison
Date: Fri, 17 Mar 1995 20:39
58 lines
3675 bytes
According to Jon Bell <jtbell@presby.edu>:
> The nntp server configuration has options for both overviews (XOVER 
> command) and reference-overviews (XROVER command).  Do I want just XOVER 
> or do I want both XOVER and XROVER?

At the moment nothing creates the .rover files and nothing uses the XROVER
command, so it doesn't matter if you turn it on or off.  This command is
something that I've discussed at one time in this group long ago, but I
haven't gotten very far developing the idea yet.

The basic purpose of the command is to provide a quick summary of the
article links for a group without having to download the entire overview
file and thread it manually.  The overview threading has always been
significantly slower than reading a thread file, and now that slow slip
links are all the rage, reducing the quantity of information needed to
thread a group is an even stronger argument for something like a reference
overview file.  The XROVER command in 1.5.12 knows how to read the .rover
files (if they existed -- and it's ok to put them in the same place as
the .overview files) and how to fake information for missing data.

If you're interested in getting involved in reference overview work,
either send me some mail or follow-up to this message.  I'll summarize
the basic idea I have for reference overviews below, to get you thinking:

The idea is to provide a very brief list of article numbers and what
article number they are an immediate child of.  Missing parent articles
would be indicated by some unique, non-numeric string -- for the moment
this is just the <message.id>, but a way to make this shorter might
eventually be worked out.  Thus, a newsreader could get a list of
existing article numbers (instead of using LISTGROUP) and with little
extra bandwidth know how the group is linked up, saving time and network
bandwidth.  The output of XROVER looks like this:

XROVER 1-
123 101
124 123
125 <not.arrived.id> 123
126 108

(Note that it doesn't matter if an article is pointing to an expired article
number.)  After this data was received, the XOVER command could be used to
get subjects/authors for just the articles that are required to be displayed
on the first page of selections, or however the client wished to optimize
the data retrieval.

Also in the same vein of extending NNTP:

I want to extend the overview handling in NNTP to allow the client to
filter the output of the XOVER command -- this would be particularly handy
if the client was using XROVER.  I'd also like to see all clients issue
a LIST OVERVIEW.FMT command and use the returned list to parse the output
of the XOVER command, instead of assuming it is in the default format
(unless the command fails, in which case assuming the default is the
right thing to do).  This will allow sites to customize their overview
files to fit their site's needs.
-- 
Wayne Davison
wayne@trn.com
Re: XOVER and XROVER?
#3482
Author: Henry Spencer
Date: Mon, 20 Mar 1995 02:20
16 lines
1664 bytes
In article <3kcs21$qfp@nic.scruz.net> davison@trn.com (Wayne Davison) writes:
>The basic purpose of [XROVER] is to provide a quick summary of the
>article links for a group without having to download the entire overview
>file and thread it manually.  The overview threading has always been
>significantly slower than reading a thread file, and now that slow slip
>links are all the rage, reducing the quantity of information needed to
>thread a group is an even stronger argument for something like a reference
>overview file...

I think you've missed an important point here, Wayne.  The slow SLIP links
may make a good argument for something like a reference overview *command*,
i.e. XROVER.  What they don't argue for is Yet Another File Format behind
it.  Why can't XROVER just use the .overview files?
-- 
There is a difference between                      |       Henry Spencer
cynicism and skepticism.                           |   henry@zoo.toronto.edu
Re: XOVER and XROVER?
#3484
Author: Stefan Monnier
Date: Tue, 21 Mar 1995 16:59
23 lines
2390 bytes
In article <D5pvuC.2wp@zoo.toronto.edu>,
Henry Spencer <henry@zoo.toronto.edu> wrote:
] I think you've missed an important point here, Wayne.  The slow SLIP links
] may make a good argument for something like a reference overview *command*,
] i.e. XROVER.  What they don't argue for is Yet Another File Format behind
] it.  Why can't XROVER just use the .overview files?

Why not have a more general mechanism where the XOVER command can specify what
information it needs (like which headers). This way, if you only need the
subject headers, only those will be sent. And if your XROVER data correspond to
some preprocessed threading information, you can fake it as a pseudo "thread"
(or whatever) header. This would make a lot more sense to me than "one more
special way to reduce bandwidth in this specific case" because it would allow
to have a big overview data (with basically all headers available) and have the
newsreaders only require the headers they need (like subject, reference,
message-ID and from). This implies more work on the server-side, tho !


	Stefan
-- 
--------------------------------------------------------------------
-- Suicidez-vous jeune, vous profiterez plus longtemps de la mort --
--------------------------------------------------------------------
Re: XOVER and XROVER?
#3485
Author: John Norstad
Date: Tue, 21 Mar 1995 19:22
52 lines
2745 bytes
In article <3kn0kk$i0b@info.epfl.ch>, "Stefan Monnier"
<monnier@di.epfl.ch> wrote:

> Why not have a more general mechanism where the XOVER command can specify what
> information it needs (like which headers).

Yes indeed. It would also be nice to be able to get the information for an
arbitrary list of article numbers and article number ranges with a single
command. It would also be nice to be able to specify the group name on the
XOVER command, which would eliminate the need for the separate "GROUP"
command which usually (or at least often) precedes the XOVER.

These changes would speed up newsreaders quite a bit, especially over slow
dialup connections.

For example, it would be great if a client could say something like:

   XOVER news.software.readers subject,from,references 100,200-213,255

This would be much more efficient than either of the current alternatives:

   GROUP news.software.readers
   XOVER 100
   XOVER 200-213
   XOVER 255

(returns more data than needed, uses four commands instead of one, and
three overview database searches instead of one.)

   GROUP news.software.readers
   XHDR subject 100
   XHDR from 100
   XHDR references 100    
   XHDR subject 200-213
   XHDR from 200-213
   XHDR references 200-213    
   XHDR subject 255
   XHDR from 255
   XHDR references 255

(returns only the data we need, but uses ten commands instead on one, and
nine overview database searches instead of one.)

I know how difficult it is to change protocols after the fact, so consider
this to be just a pleasant dream. :-)

-- 
John Norstad
Academic Computing and Network Services
Northwestern University
j-norstad@nwu.edu
http://charlotte.acns.nwu.edu/jln/jln.html
Re: XOVER and XROVER?
#3512
Author: David B Funk
Date: Tue, 28 Mar 1995 12:35
36 lines
2689 bytes
In article <D5pvuC.2wp@zoo.toronto.edu>,
Henry Spencer <henry@zoo.toronto.edu> wrote:
>In article <3kcs21$qfp@nic.scruz.net> davison@trn.com (Wayne Davison) writes:
>>The basic purpose of [XROVER] is to provide a quick summary of the
>>article links for a group without having to download the entire overview
>>file and thread it manually.  The overview threading has always been

>I think you've missed an important point here, Wayne.  The slow SLIP links
>may make a good argument for something like a reference overview *command*,
>i.e. XROVER.  What they don't argue for is Yet Another File Format behind
>it.  Why can't XROVER just use the .overview files?

I agree with Henry, as a news-admin I wouldn't want to see yet another
set of news data-base files & tools to manage; however Wayne's ideas look
interesting.

IMHO, if I'm understanding what Wayne wants to do, it could be done with
a simple mod to the overview stuff and the current NNTP command set.
No new '.rover' files needed, no "XROVER" command needed. ;)

Try this on for size:
 Add a new field to the overview.fmt schema al'a "Xref", call it "Xparent",
 (or some other "Xname"). Unlike 'Xref' you wouldn't insert it into the
 article, only put it in the ".overview" file. 'Xparent' would have the
 art-number of the art's parent (or zero for a base note, '-' for missing
 parent, etc..).

This should only require a small addition to "overchan" to support.
Then an NNTP "xhdr Xparent" would be the implementation of the "XROVER"
command.

-- 
Dave Funk    <dbfunk@icaen.uiowa.edu>
Sys-admin/News-admin/Postmaster for ICAEN
Better is not better, 'standard' is better. B{
#include <std_disclamer.h>
Re: XOVER and XROVER?
#3516
Author: Jerry Aguirre
Date: Tue, 28 Mar 1995 20:31
28 lines
2492 bytes
In article <3l8vqu$e6f@news.icaen.uiowa.edu> dbfunk@icaen.uiowa.edu (David B Funk) writes:
>
>Try this on for size:
> Add a new field to the overview.fmt schema al'a "Xref", call it "Xparent",
> (or some other "Xname"). Unlike 'Xref' you wouldn't insert it into the
> article, only put it in the ".overview" file. 'Xparent' would have the
> art-number of the art's parent (or zero for a base note, '-' for missing
> parent, etc..).
>
>This should only require a small addition to "overchan" to support.
>Then an NNTP "xhdr Xparent" would be the implementation of the "XROVER"
>command.

But there is no guarantee that the parent article will arrive first.
Thus some entries would have a "-" for the parent even if the parent
article arrived seconds later.  If the parent article hasn't arrived
by the time the user reads then nothing much can be done.  But just
because it isn't present when the child arrives is no reason to
break the thread.

Patching parents back into previous overview entries in not practical.
The format is just not set up for that.

I think that what Henry was proposing was that the new "XROVER" NNTP
command would be reasonable but should not require a new file.  The
NNTP server could implement the threading using the information that
already exists in the .overview file.  This would push some work onto
the server to save bandwidth to the client.
Re: XOVER and XROVER?
#3519
Author: Wayne Davison
Date: Tue, 28 Mar 1995 22:36
29 lines
2158 bytes
According to Henry Spencer <henry@zoo.toronto.edu>:
> I think you've missed an important point here, Wayne.  The slow SLIP links
> may make a good argument for something like a reference overview *command*,
> i.e. XROVER.  What they don't argue for is Yet Another File Format behind
> it.

How the server implements the service isn't that important.  NNTP 1.5.12
implements it using the .overview file's references header (if available)
and the history file (to lookup the article numbers).  This works right
now.  If this proves to be too much work for the server to do, then having
the information available in a pre-existing summary format (the .rover
file) is also supported, though nobody creates or maintains such a file
at present.  Other implemenation schemes are also possible, but remain
uninvestigated.  If nobody wants the .rover files, then by all means,
let's leave them out of this.

Now that that's out of the way, what do you think about the command itself?

What do you think about making the contents of the overview file more
flexible (which would require a newsreader to use the overview.fmt file
to process the info)?

What do you think about allowing the user to specify a restricted set
of XOVER data to reduce the time it takes to grab it?

Does anyone want to talk about such things?
-- 
Wayne Davison
wayne@trn.com
Re: XOVER and XROVER?
#3528
Author: John Henders
Date: Wed, 29 Mar 1995 07:16
19 lines
1858 bytes
In <3la321$ju2@nic.scruz.net> wayne@trn.com (Wayne Davison) writes:

>.  Other implemenation schemes are also possible, but remain
>uninvestigated.  If nobody wants the .rover files, then by all means,
>let's leave them out of this.

	As someone who admins a large news server, I think that a
strategy that tries to move thread calculation back to the server under
the current overview format would be a mistake. If every time the newsreader
entered a new group it could request the server calculate the threading,
on our server at least, it would be slower than pulling the data over
and threading it itself. This is because our news server is usually
running about 4X the load of the user login machine. From discussion
about news server maintenance I've seen, I'd guess this is fairly
typical.

-- 
                    GAT d- -p+(--) c++++ l++ u++ t- m--- W---
                     !v b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*
Re: XOVER and XROVER?
#3541
Author: Henry Spencer
Date: Thu, 30 Mar 1995 02:02
30 lines
2409 bytes
(I'll reply at greater length to Wayne's other thoughts later...)

In article <3la321$ju2@nic.scruz.net> wayne@trn.com (Wayne Davison) writes:
>What do you think about making the contents of the overview file more
>flexible (which would require a newsreader to use the overview.fmt file
>to process the info)?

NO!  NO!  NO!  NO!  NO!

The contents of the first 8 fields of the overview file are intended to be
absolutely, completely standard, so that all software using it can depend
on finding the same things in there.  Any software which asks you to
*decide* what's in those fields is *wrong*.  Any file which has different
contents in those fields is not an overview file, and should not be using
the name ".overview"!

The overview file is fully extensible and does not need to be made "more
flexible".  From the ninth field on, software can put *anything it wants*
in there, provided it supplies the header name as well as the header
content.  Newsreaders likewise can look for anything they want in there,
although they should be prepared for not finding it (or finding it only
for some articles).

This setup was, admittedly, intended for high-bandwidth interfaces like
filesystem access.  For low-bandwidth interfaces like a slow NNTP link,
it's perfectly reasonable to have a way to ask the intervening daemon to
filter the information. 
-- 
There is a difference between                      |       Henry Spencer
cynicism and skepticism.                           |   henry@zoo.toronto.edu
Re: XOVER and XROVER?
#3542
Author: Henry Spencer
Date: Thu, 30 Mar 1995 03:40
16 lines
1764 bytes
In article <D66xKB.3xF@jonh.wimsey.com> jhenders@jonh.wimsey.com (John Henders) writes:
>...If every time the newsreader
>entered a new group it could request the server calculate the threading,
>on our server at least, it would be slower than pulling the data over
>and threading it itself. This is because our news server is usually
>running about 4X the load of the user login machine...

Of course, it's probably quite a bit faster than the user login machine
too... and the disk accesses have to be done anyway.

More generally speaking, which one is slower depends on variables like
the speed of the link.  (At 1200 baud, the server *will* be faster.)
This is something that needs to be configurable, not cast in stone.
-- 
There is a difference between                      |       Henry Spencer
cynicism and skepticism.                           |   henry@zoo.toronto.edu
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