🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Rick Pasotto Fri, 12 Jul 1996 00:00
XREF alternative for slrn
#9269
Author: Rick Pasotto
Date: Fri, 12 Jul 1996 00:00
44 lines
2664 bytes

I had a long talk with the news administrator at my ISP yesterday. He says
he will never enable the XREF header in the NOV because it involves too
much overhead and besides only old-fashioned newsreaders use it!!! He says
that the article-id can be used as an index into the history file which
contains the same info as the XREF header and that this is what modern 
newsreaders do. In all the discussion I've seen in this newsgroup about
XREF I don't recall seeing any mention of this possiblity. 

In the same directory as the overview.fmt file are the following:

-rw-rw-r--  1 news     125627156 Jul 12 07:07 history
-rw-rw-r--  1 news           71 Jul 12 07:07 history.dir
-rw-rw-r--  1 news     10131476 Jul 12 07:07 history.pag

'tail' on the history file gave me:

<NEWTNews.10319.837136361.us032174@interramp.com>	837169632~-~837135999	alt.personals.bi/3507
<3DXgUA$oqV@bbs.cs.nthu.edu.tw>	837169632~-~837169066	tw.bbs.music.classical/1882
<4s5bae$7st@antares.en.com>	837169632~-~837169294	alt.slack/6173 alt.tasteless/1913
<4s57k0$ggi@cpca3.uea.ac.uk>	837169632~-~837165504	alt.vampyres/2972
<DuFEF4.KGF@ebi.ac.uk>	837169633~-~837167296	alt.fan.pratchett/2840
<4s3e38$57l@mark.ucdavis.edu>	837169633~-~837106420	alt.magic/1362
<4s3sof$ivb@tofu.alt.net>	837169633~-~837121615	alt.binaries.pictures.erotica.bears/1936
<DuFEB9.Kvz@ebi.ac.uk>	837169633~-~837167157	alt.fan.pratchett/2841
<4s58p2$ggi@cpca3.uea.ac.uk>	837169633~-~837166690	alt.vampyres/2973
<4s592s$f27@dfw-ixnews8.ix.netcom.com>	837169634~-~837167004	alt.music.alternative/4699 alt.music.alternative.female/1227 alt.rock-n-roll/979

Is this setup standard? Could it be incorporated into slrn as an alternative
to using the XREF line? Or can someone give me a killer argument that will
change my news administrator's mind?

Thanks.

-- 
"If a thousand men were not to pay their tax bills, that would not be so
 violent and bloody a measure as it would be to pay them and enable the
 state to commit violence and shed innocent blood." -- Henry David Thoreau

		   Rick Pasotto email: rickp@vnet.net


Re: XREF alternative for slrn
#9263
Author: Christopher B. Browne
Date: Fri, 12 Jul 1996 00:00
36 lines
2190 bytes
In article <slrn4uce48.ub.rick@tolive.vnet.net>, Rick Pasotto wrote:
>
>I had a long talk with the news administrator at my ISP yesterday. He says
>he will never enable the XREF header in the NOV because it involves too
>much overhead and besides only old-fashioned newsreaders use it!!! He says
>that the article-id can be used as an index into the history file which
>contains the same info as the XREF header and that this is what modern 
>newsreaders do. In all the discussion I've seen in this newsgroup about
>XREF I don't recall seeing any mention of this possiblity. 

The question is just where these history files are being maintained.

>In the same directory as the overview.fmt file are the following:

>-rw-rw-r--  1 news     125627156 Jul 12 07:07 history
>-rw-rw-r--  1 news           71 Jul 12 07:07 history.dir
>-rw-rw-r--  1 news     10131476 Jul 12 07:07 history.pag

Are these sitting on a drive at the ISP?

If they are, then this is useless for users that are running
slrn remotely.  (As am I.)

If they aren't, then it looks like we have to  maintain the DBM
database locally.  With some policy on expiring data out, and
with the possibility of my running out of disk space.

That's 135MB of data there.
-- 
Christopher B. Browne, cbbrowne@conline.com, chris_browne@sdt.com
Web: http://www.conline.com/~cbbrowne  SAP Basis Consultant, UNIX Guy,
Linux Guy.  "Windows?  Ah...  The Athena Project from MIT..."


Re: XREF alternative for slrn
#9274
Author: Olly Betts
Date: Fri, 12 Jul 1996 00:00
74 lines
3990 bytes
In article <slrn4uce48.ub.rick@tolive.vnet.net>, Rick Pasotto wrote:
>I had a long talk with the news administrator at my ISP yesterday. He says
>he will never enable the XREF header in the NOV because it involves too
>much overhead and besides only old-fashioned newsreaders use it!!!

I've certainly not heard that argued before.

>He says
>that the article-id can be used as an index into the history file which
>contains the same info as the XREF header and that this is what modern
>newsreaders do.

By "article-id" I assume he must mean the "Message-Id:" headers rather than
the server article number (otherwise he's making even less sense).  So he's
expecting a newsreader to search the history file for a line starting with a
particular string (the message-id plus whitespace).  The information needed
is indeed in the file.  It's finding it that's hard.

>In all the discussion I've seen in this newsgroup about
>XREF I don't recall seeing any mention of this possiblity. 

I'm not too suprised.  The history file is not small (yours is 119
Megabytes).  To search a file that size for the right line would take a long
time.  And constructing an index is going to use a lot of memory).

>In the same directory as the overview.fmt file are the following:
>
>-rw-rw-r--  1 news     125627156 Jul 12 07:07 history
>-rw-rw-r--  1 news           71 Jul 12 07:07 history.dir
>-rw-rw-r--  1 news     10131476 Jul 12 07:07 history.pag
>
>'tail' on the history file gave me:
>
><NEWTNews.10319.837136361.us032174@interramp.com> 837169632~-~837135999 alt.pers
> onals.bi/3507
><3DXgUA$oqV@bbs.cs.nthu.edu.tw> 837169632~-~837169066 tw.bbs.music.classical/188
> 2
><4s5bae$7st@antares.en.com> 837169632~-~837169294 alt.slack/6173 alt.tasteless/1
> 913
><4s57k0$ggi@cpca3.uea.ac.uk>	837169632~-~837165504	alt.vampyres/2972
><DuFEF4.KGF@ebi.ac.uk>	837169633~-~837167296	alt.fan.pratchett/2840
><4s3e38$57l@mark.ucdavis.edu>	837169633~-~837106420	alt.magic/1362
><4s3sof$ivb@tofu.alt.net> 837169633~-~837121615 alt.binaries.pictures.erotica.be
> ars/1936
><DuFEB9.Kvz@ebi.ac.uk>	837169633~-~837167157	alt.fan.pratchett/2841
><4s58p2$ggi@cpca3.uea.ac.uk>	837169633~-~837166690	alt.vampyres/2973
><4s592s$f27@dfw-ixnews8.ix.netcom.com> 837169634~-~837167004 alt.music.alternati
> ve/4699 alt.music.alternative.female/1227 alt.rock-n-roll/979
>
>Is this setup standard?

It's certainly standard for INN.  Not sure about other news servers.

>Could it be incorporated into slrn as an alternative
>to using the XREF line? Or can someone give me a killer argument that will
>change my news administrator's mind?

If you're using slrn on a local news spool, how is he expecting it to search
such a large file for the correct line?

If you're using slrn over NNTP, how is he even expecting it to access the
history file?  The only way I can think of is to use XPATH, but that is
abusing XPATH by assuming the way the newsserver stores articles in files.
It'll be OK for current versions of INN, but it won't work with a news
server which doesn't store article 12345 in the group news.software.readers
as '<spoolroot>/news/software/readers/12345'.

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass


Re: XREF alternative for slrn
#9279
Author: Bennett Todd
Date: Sat, 13 Jul 1996 00:00
33 lines
2188 bytes
On 12 Jul 1996 17:26:45 GMT, Olly Betts <olly@mantis.co.uk> wrote:
>In article <slrn4uce48.ub.rick@tolive.vnet.net>, Rick Pasotto wrote:
>>I had a long talk with the news administrator at my ISP yesterday. He says
>>he will never enable the XREF header in the NOV because it involves too much
>>overhead and besides only old-fashioned newsreaders use it!!!
>I've certainly not heard that argued before.

Well, it's hard to overestimate the ability of a good, healthy, lazy SA to
invent reasons why he shouldn't do something....

>>He says that the article-id can be used as an index into the history file
>>which contains the same info as the XREF header and that this is what modern
>>newsreaders do.
>So he's expecting a newsreader to search the history file for a line starting
>with a particular string (the message-id plus whitespace).

Actually ... he's expecting a newsreader to do a DBM lookup and get the
history record in about 2-3 I/Os.

> The information needed is indeed in the file. It's finding it that's hard.

I don't believe this is correct; the history file is already indexed with the
dbm version, and that can be random accessed very efficiently.

If (I say _if_) providing the fullest and most flexible support for working
off a local spool, in an NNTP-free environment, is a major goal, then adding
support for this could be of value. It would add code complexity to slrn. It
would also speed it up, I expect; it certainly wouldn't slow it down.

-Bennett

Re: XREF alternative for slrn
#9289
Author: Mark Delany
Date: Sat, 13 Jul 1996 00:00
36 lines
1896 bytes
rick@tolive.vnet.net (Rick Pasotto) writes:

>I had a long talk with the news administrator at my ISP yesterday. He says
>he will never enable the XREF header in the NOV because it involves too
>much overhead and besides only old-fashioned newsreaders use it!!! He says
>that the article-id can be used as an index into the history file which
>contains the same info as the XREF header and that this is what modern 
>newsreaders do.

The best solution to your problem is to shop around for an ISP that
knows their onions.

o	If this ISP is already running overchan to create the NOV,
	then the addition of Xref (which is defined in overview.fmt)
	is minimal extra overhead.

o	If they are not running overchan then they are doing a
	dis-service to a *lot* of readers.

	If they are running inn (which sounds like the case) without
	overchan then nnrpd will open each and every article in a
	given group to answer questions that can normally be answered
	by reading just the NOV database. This creates a lot of extra
	load on the server.

o	The history file is an internal structure and peeking inside
	is a risky thing for newsreaders to do.

o	Assumptions that newsreaders have access to the physical data
	(ie history) are outdated and don't scale.


Regards.

Re: XREF alternative for slrn
#9293
Author: Mark Delany
Date: Sat, 13 Jul 1996 00:00
46 lines
2584 bytes
bet@ritz.mordor.com (Bennett Todd) writes:

>On 12 Jul 1996 17:26:45 GMT, Olly Betts <olly@mantis.co.uk> wrote:
>>In article <slrn4uce48.ub.rick@tolive.vnet.net>, Rick Pasotto wrote:
>>>I had a long talk with the news administrator at my ISP yesterday. He says
>>>he will never enable the XREF header in the NOV because it involves too much
>>>overhead and besides only old-fashioned newsreaders use it!!!
>>I've certainly not heard that argued before.

>Well, it's hard to overestimate the ability of a good, healthy, lazy SA to
>invent reasons why he shouldn't do something....

<Chuckle> Well said.

>I don't believe this is correct; the history file is already indexed with the
>dbm version, and that can be random accessed very efficiently.

That is true, but..

>If (I say _if_) providing the fullest and most flexible support for working
>off a local spool, in an NNTP-free environment, is a major goal, then adding
>support for this could be of value. It would add code complexity to slrn. It
>would also speed it up, I expect; it certainly wouldn't slow it down.

While agree with your assessment that the dbm access would be fast,
I'm not so sure about the need to access history in the first
place. And, as you rightly point it, that _if_ is a biggie.

It strikes me that to get a message-id in the first instant, the
reader has to have fetched the article or at least a subset of the
headers. In doing such a fetch, the Xref header can be returned at no
additional I/O cost.

(As an aside, innd currently only generates an Xref for cross-posted
articles, but to be complete it may well be wise to write it in all
cases to assist readers that access via message-id).

Having said that, XHDR/XOVER have the potential to provide the most
useful info at the least cost to all parties so NOV avoidance by the
well-described SA is still ill-advised.


Regards.

Re: XREF alternative for slrn
#9304
Author: Christopher B. Browne
Date: Sun, 14 Jul 1996 00:00
27 lines
1958 bytes
In article <slrn4uis6u.4j4.lmb@pointer.in-minden.de>, Lars Marowsky-Bree wrote:
>On 12 Jul 1996 17:26:45 GMT, Olly Betts <olly@mantis.co.uk> wrote:
>> If you're using slrn on a local news spool, how is he expecting it to search
>> such a large file for the correct line?

>It is quite fast, since the history file is indexed. Thinking about it, it
>would be quite an interesting feature for slrn.

This would be true iff (if and only if) the history file actually resided
on your host.

It does not.  It resides on the NNTP server.  It gets updated, probably
regularly, by (I think) INN.  Keeping a replicated copy up to date on
the local machine (e.g. the one running SLRN) would be a problem.

(Well, not if you'd be happy having a history file that just has info
on those postings for which you've retrieved headers in the past.  slrn
could maintain a local "history" database.  But I don't think that is
what was meant.)
-- 
Christopher B. Browne, cbbrowne@conline.com, chris_browne@sdt.com
Web: http://www.conline.com/~cbbrowne  SAP Basis Consultant, UNIX Guy,
Linux Guy.  "Windows?  Ah...  The Athena Project from MIT..."


Re: XREF alternative for slrn
#9307
Author: Lars Marowsky-Bree
Date: Sun, 14 Jul 1996 00:00
17 lines
1287 bytes
On 12 Jul 1996 17:26:45 GMT, Olly Betts <olly@mantis.co.uk> wrote:

> If you're using slrn on a local news spool, how is he expecting it to search
> such a large file for the correct line?

It is quite fast, since the history file is indexed. Thinking about it, it
would be quite an interesting feature for slrn.

-- 
Lars Marowsky-Bree   Voice: +49-571-63663   PGP-key avail. via server
HomePage: http://www.teuto.de/~lmb/    Mail: lmb@pointer.in-minden.de
PGP-Id: 0xDAB57941 / CF FC 3A F0 86 F1 D3 EB  79 8A CF 75 4F 4C 81 DF



Re: XREF alternative for slrn
#9311
Author: Olly Betts
Date: Mon, 15 Jul 1996 00:00
62 lines
3535 bytes
In article <4s6ufg$d8j$1@bushwire.mira.net.au>, Mark Delany wrote:
>bet@ritz.mordor.com (Bennett Todd) writes:
>>I don't believe this is correct; the history file is already indexed with the
>>dbm version, and that can be random accessed very efficiently.

Aha!  I hadn't spotted that INN's own index of the history file was actually
documented (in fact man history mentions it and refers to man dbz), which
makes using it rather more legitimate.  (The index is actually dbz, but the
library has a dbm compatible API).

>While agree with your assessment that the dbm access would be fast,
>I'm not so sure about the need to access history in the first
>place. And, as you rightly point it, that _if_ is a biggie.
>
>It strikes me that to get a message-id in the first instant, the
>reader has to have fetched the article or at least a subset of the
>headers. In doing such a fetch, the Xref header can be returned at no
>additional I/O cost.

For the current version of slrn, adding support for reading the history file
would only benefit in the case of scoring on Xref: or marking an article
read when all these are true:

* the article is cross-posted to other groups carried on the server
  (as slrn knows the article number for the current group)

* we're using the local spool backend
  (we can't look at the history file using NNTP)

* we have a NOV database which doesn't include Xref:
  (otherwise we just look at Xref:)

* we're scoring only on headers in the NOV database
  (otherwise slrn uses HEAD and internally builds NOV-like records)

* the news server is INN, or uses the same history file and index format
  (since we're relying on the structure of the history file and its index)

Using the dbz library that comes with INN, the extra code required is fairly
small -- when a line is read from the overview file, use the message-id to
do a look-up in the history file, then build the Xref: line and add it to
the overview record returned.  Then it looks just like the server has NOV
with Xref:full configured in, and the user can score on Xref: and crossposts
get killed.

I'm not convinced (and I don't seem to be alone here) that the views that
this sysadmin seems to have should be encouraged.  He'll shave a small
fraction of the size of his news spool, but increase the number of file
accesses and incovenience anyone using NNTP, or with a local-spool
newsreader which isn't able to read the history file.

Which local-spool newsreaders can use the history file?  Looking at the
sources I have to hand, trn appears to have support; nn and tin appear not
to.

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass


Re: XREF alternative for slrn
#9335
Author: Per Abrahamsen
Date: Mon, 15 Jul 1996 00:00
11 lines
1261 bytes
>>>>> "RP" == Rick Pasotto <rick@tolive.vnet.net> writes:

RP> He says
RP> he will never enable the XREF header in the NOV because it involves too
RP> much overhead and besides only old-fashioned newsreaders use it!!!


Mozilla uses it.

Re: XREF alternative for slrn
#9420
Author: Lars Marowsky-Bree
Date: Thu, 18 Jul 1996 00:00
21 lines
1562 bytes
On 14 Jul 1996 23:51:07 GMT, Christopher B. Browne <cbbrowne@dantzig.nodomain.nowhere> wrote:

> >> If you're using slrn on a local news spool, how is he expecting it to search
> >> such a large file for the correct line?
> >It is quite fast, since the history file is indexed. Thinking about it, it
> >would be quite an interesting feature for slrn.
> 
> This would be true iff (if and only if) the history file actually resided
> on your host.

Which would be true for a local news spool.

-- 
Lars Marowsky-Bree   Voice: +49-571-63663   PGP-key avail. via server
HomePage: http://www.teuto.de/~lmb/    Mail: lmb@pointer.in-minden.de
PGP-Id: 0xDAB57941 / CF FC 3A F0 86 F1 D3 EB  79 8A CF 75 4F 4C 81 DF



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