Article View: news.software.nntp
Article #81127Re: NNTP Protocol Question
From: Curt Welch
Date: Sat, 30 May 2009 05:20
Date: Sat, 30 May 2009 05:20
79 lines
5446 bytes
5446 bytes
=?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. > > Interesting to know! Thanks. > > I then wonder whether draft-ellermann-news-nntp-uri-11 should not deal > with that. > > nntp://news.server.com/news.group/123 > news://news.server.com/test@example.com > > are possible. > > But *not* > > news://news.server.com/news.group/test@example.com > > (which should also handle crossposts in some manner). 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. 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. I think the server that might have gotten it wrong was surge news from the dnews guys which was some sort of NNTP proxy switch as I understand it. I don't know of anyone major is still using that software. The one company well known for using it (newsfeeds/usenet.com/?/?) has switched to a server that can do lookup by mid correctly without a group (last I checked). There might well be some NNTP proxy systems that require the group first. But if they do exist, they should be thrown away and replaced with smarter software that actually works. :) Message-Ids are too important to how Usenet works to require that the client go searching group by group to find it if the client doesn't know the group. If some front end proxy doesn't know where it is, and a search is required, the proxy should do the searching, not the client, because the proxy at least knows how many back end servers to check. A client taking random guesses at groups to try and find it is just stupid. The whole point of Xref headers is to allow the client to find the groups, and the article numbers, if all they have is the message-id. If the server doesn't allow the client to fetch by id without first telling the server the group, then the server has just failed to support an important features of Usenet - the ability to find the group when you don't have it. (Diablo doesn't get that correct, becuase it doesn't typically return a valid Xref when you fetch by ID, so it's something I've always considered broken about Diablo). Diablo however does give you the article, and you can get the Newsgroup: list from the article, and then go searching each group from the article to find the article numbers - which sucks, but at least it works and doesn't require a linear search of every group in the active file. 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. :) -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com http://NewsReader.Com/
Technical Details
Message-ID:
<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!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!transit4.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mailReferences:
<a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.com> <gvhd9o$d6j$1@news.httrack.net> <7881uoF1k3o2lU1@mid.individual.net> <gvml6j$8bj$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <20090530011921.790$hv@newsreader.com>
Subject: Re: NNTP Protocol Question
Date: Sat, 30 May 2009 05:20:31 +0000
From: curt@kcwc.com (Curt Welch)
References: <a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.com> <gvhd9o$d6j$1@news.httrack.net> <7881uoF1k3o2lU1@mid.individual.net> <gvml6j$8bj$1@news.trigofacile.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!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!transit4.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 j0x_GUJa_/zdnYwpF/RLpVc+xj99BzsWE@syeGPsMnblo7@
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: 79
NNTP-Posting-Host: 4d9b9e32.nr5-q1.newsreader.com
X-Trace: DXC=IIT?dKe4WTei?E?OhRVNjibgZaH`e<A[iZ?:i9<JJBSn3Eg<e1DS2gfiJ;
iV2YAoGeoK\fg`F7F[ln5@m<]oVL^b
X-Complaints-To: abuse@newsreader.com