🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81163

Re: NNTP Protocol Question

#81163
From: Curt Welch
Date: Sun, 31 May 2009 20:00
112 lines
7355 bytes
Torbjorn Lindgren <tl@none.invalid> wrote:
> 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.

That could be. The original highwinds software didn't support server farms
at all.  They were designed to run on a single large machine.  But then
highwinds added some sort of support for server farms but I was not aware
of anyone that ever used that.  I myself never ran higwinds so I don't know
that much about it.  I did try to run there FreeBSD version for a while but
it never worked so I gave up.  Highwinds needed good thread support to work
correctly and FreeBSD didn't have good thread support.

> 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.

That might be true.

> 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.

It's changed a lot over the years and I don't know what shape it's in. I
think the current higwinds company actually threw out the highwinds code
and switched to Diablo recently. :)

> >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).

Yes, my understanding is that EasyNews was (and maybe still is) using
Highwinds.

But when Usenet got too large to run it on a single larger server, my
understanding is that they solved the problem by witting their own
front-end NNTP switch software. So the users connected to their smart front
end boxes, and they used normal Highwinds servers as the backend, and
simply limited which groups were on which back end server to spread the
load across multiple groups.

The difference however is that their custom front end switch was very well
written and didn't require you do things like do a group command first. It
correctly fetched articles by Message-ID and I think always returned valid
X-Ref headers (not an easy feat since articles cross posted to groups on
different servers got assigned article numbers on different servers).

> [...]
> >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 :-)

Yeah, there's probably some servers somewhere still needing a group
command first.  I just don't know where it is.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Technical Details
Message-ID: <20090531155928.264$6K@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.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!textspool1.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!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> <78d7upF1lbokiU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <20090531155928.264$6K@newsreader.com>
Subject: Re: NNTP Protocol Question
Date: Sun, 31 May 2009 20:00:41 +0000
From: curt@kcwc.com (Curt Welch)
References: <a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.com> <7881uoF1k3o2lU1@mid.individual.net> <gvml6j$8bj$1@news.trigofacile.com> <20090530011921.790$hv@newsreader.com> <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.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!textspool1.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-NRC-Trace: NewsReader.Com Rz1-l.XfuHLxCWQ.SjAR8kAp1ANzb0Pxaw_XO5DCbFTPfx.=F
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,
 ?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 112
NNTP-Posting-Host: 77247f26.nr5-q1.newsreader.com
X-Trace: DXC=; eJDIB>nDRGB4AkSBQjmbGbgZaH`e<A[IZ?:i9<JJBSNg4VdMS?Jf3LiJ;
 iV2YAoGEHYBW6inGA; BH5FdU9oXiID
X-Complaints-To: abuse@newsreader.com