🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81141

Re: NNTP Protocol Question

#81141
From: Torbjorn Lindgren
Date: Sat, 30 May 2009 17:16
74 lines
4795 bytes
In article <20090530011921.790$hv@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:
>=?Windows-1252?Q?Julien_=C9LIE?= <iulius@nom-de-mon-site.com.invalid>
>> wrote: Hi Torbjorn,
>> > Several of the big commercial "farm" type servers used to require you
>> > to be on the right "shard" (backend server) for retrieval by
>> > message-id to work. They switched "shard" as needed on GROUP commands
>> > so without a GROUP command it would only work if the previous group
>> > happened to also be stored on the same machine.
[...]
>I too have heard that some servers required a group command before issuing
>a fetch by mid.  Personally, I think we should just declare the server
>broken and not allow anyone to use them. :)
>
>I don't actually know which server does that, I've never seen it in action.

This was many years back but IIRC at least some of the Highwinds
servers used to have this defect, other Highwind servers instead had
problems with retrieval by message-id of "old" articles instead! I
know Highwind's server used to be widely used at that time.

As I was told the Highwind software had a setting for message-id cache
size where the default value was wildly insufficient for real usage. A
competent admin would set it properly but that was by no means a given
(also, databases tends to be slower and/or require more IO the more
data you have in them).

It's possible that the two issues were really one, IE that if the
cache size wasn't set correctly articles outside the cache was only
available via message-id retrieval with the correct group command.
That would arguably make it a server admin configuration error and
then it might have only affected some servers.

Perhaps if someone has access to modern copy of Highwind's suite of
software they might be able to tell us how they handle this now.


>All the largest "farm" servers I know about DON'T have that problem.  Most
>of the large farm servers don't split up back ends by group, so it's not
>even an issue for most of them.  They split it up by message-id so knowing
>the message-id you are looking for is all the front end needs to know to
>find it.  But even the ones that I know that did split them up by group,
>didn't have that problem.  Easynews was one large server farm that did (and
>I think still does unless it's been changed recently) split up the back
>ends by group, but they were smart enough to solve all these problems and
>make look up by message ID work correctly even if you didn't specify the
>group first.

Like I said it was many years ago, I wouldn't be the least surprised
if all of them are fixed. The fact that you don't know of any now
certainly suggests this.

Some sources say EasyNews uses Highwinds which would match the group
based splitting they at least used to do (and I would expect EN to get
the cache size correct, as opposed to say the early days with UNS, no
idea if they've shaped up since). 

[...]
>If I was writing a client, and I found a machine that required the
>group first, yes I would modify my client to try selecting the group if it
>got an error and the group was not already selected, but I wouldn't like
>having to do it. :)

I know that various forms of server problems hit Newsbin Pro when they
switched to retrieval by message-id (IIRC v4 used article numbers, v5
uses message ids) and I'm fairly certain this was one of them, I'm
sure that it used to have an option for it. It's not there any longer
so it's been either automatic or removed.

Looking at the command stream I can see that it uses message-ids
without group commands but it's possible that it would use them for
the retries if it got errors. Only the author would know unless you
found a "bad" server to run it against or ran a proxy which modified
commands on the fly to trigger this :-)
Technical Details
Message-ID: <78d7upF1lbokiU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.com> <7881uoF1k3o2lU1@mid.individual.net> <gvml6j$8bj$1@news.trigofacile.com> <20090530011921.790$hv@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <78d7upF1lbokiU1@mid.individual.net>
Subject: Re: NNTP Protocol Question
Date: Sat, 30 May 2009 17:16:09 +0000
From: Torbjorn Lindgren <tl@none.invalid>
References: <a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.com> <7881uoF1k3o2lU1@mid.individual.net> <gvml6j$8bj$1@news.trigofacile.com> <20090530011921.790$hv@newsreader.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 74
X-Trace: individual.net lpbO/xFaZQEzz+6tm7SCeQjXJ+sfuQdMK9ec08/Hwga7f3zWD9
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:dV8Z4+9F1Y4m/YF/761RJlkdrAw=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)