Thread View: news.software.nntp
17 messages
17 total messages
Started by Sébastien WILLEMIJNS
Tue, 21 Jun 2005 05:13
ARTICLE msg-id
Author: Sébastien WILLEMIJNS
Date: Tue, 21 Jun 2005 05:13
Date: Tue, 21 Jun 2005 05:13
9 lines
1112 bytes
1112 bytes
hi, Is "ARTICLE <msg-id>" is a mandatory command on every newsserver ? -- Sébastien WILLEMIJNS, France www.willemijns.com www.nntpeng.willemijns.com (FAQ about open NNTP servers)
Re: ARTICLE msg-id
Author: Andrew - Supernews
Date: Tue, 21 Jun 2005 06:37
Date: Tue, 21 Jun 2005 06:37
10 lines
1262 bytes
1262 bytes
On 2005-06-21, Sébastien WILLEMIJNS <sebastien@willemijns.com> wrote: > hi, > > Is "ARTICLE <msg-id>" is a mandatory command on every newsserver ? Yes. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: ARTICLE msg-id
Author: Torbjorn Lindgren
Date: Tue, 21 Jun 2005 18:21
Date: Tue, 21 Jun 2005 18:21
28 lines
2272 bytes
2272 bytes
Andrew - Supernews <andrew@supernews.com> wrote: >On 2005-06-21, Sébastien WILLEMIJNS <sebastien@willemijns.com> wrote: >> hi, >> Is "ARTICLE <msg-id>" is a mandatory command on every newsserver ? > >Yes. Right and it ought to work if the article is on the newsserver, BUT... Article retrieval by message-id isn't always as simple as it should be. Known quirks of a few known implementations (or bad setups): * May not work for "older articles" (configuration setting on some servers, seen < 1 day!). * May not work if the client hasn't used group first * May not work if the client hasn't used group on one of the groups this article is in. I'd claim that all these are clear signs of a broken newsserver, but the unfortunate fact is that they're out there, and retrieval via message-id can also be slower on some servers. All this means is that a reader might as well try to accomodate them IF it has the information to do so, ie enter group (if known) first, use article id first if it has it. If message-id retrieval fails but the group is known it MIGHT be worth offering the option of scanning for the message (a full XOVER is usually slow, but it might work and can be cached for further use).
Re: ARTICLE msg-id
Author: Andrew - Supernews
Date: Tue, 21 Jun 2005 19:52
Date: Tue, 21 Jun 2005 19:52
42 lines
2611 bytes
2611 bytes
On 2005-06-21, Torbjorn Lindgren <tl@none.invalid> wrote: > Andrew - Supernews <andrew@supernews.com> wrote: >>On 2005-06-21, Sébastien WILLEMIJNS <sebastien@willemijns.com> wrote: >>> hi, >>> Is "ARTICLE <msg-id>" is a mandatory command on every newsserver ? >> >>Yes. > > Right and it ought to work if the article is on the newsserver, BUT... > Article retrieval by message-id isn't always as simple as it should > be. > > Known quirks of a few known implementations (or bad setups): > * May not work for "older articles" (configuration setting on some > servers, seen < 1 day!). The configuration setting in question is the history file size, which is often not easy to change. An old default for the Highwind servers was 4 million articles, which is about 70% of a day's full feed these days, which probably accounts for your "< 1 day". We actually have this issue too on one of our systems, but only affecting articles older than a year or so. > * May not work if the client hasn't used group first That's just broken (the spec explicitly does not require this) > * May not work if the client hasn't used group on one of the groups > this article is in. ditto > I'd claim that all these are clear signs of a broken newsserver, but > the unfortunate fact is that they're out there, and retrieval via > message-id can also be slower on some servers. And faster on others. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: ARTICLE msg-id
Author: YottaNews Support
Date: Wed, 22 Jun 2005 00:39
Date: Wed, 22 Jun 2005 00:39
37 lines
2833 bytes
2833 bytes
On Tue, 21 Jun 2005 19:52:52 +0000, Andrew - Supernews wrote: > On 2005-06-21, Torbjorn Lindgren <tl@none.invalid> wrote: >> * May not work if the client hasn't used group first > > That's just broken (the spec explicitly does not require this) > >> * May not work if the client hasn't used group on one of the groups >> this article is in. > > ditto This is the case on servers that have been setup with a proxy based front end system. The back ends store articles based on the group name. For example, mp3 groups on one server, multimedia on another. The proxy front end does not know what back end server to proxy to if the group command isn't given. Netwinsite's software uses this method. It's true that the original RFC's doesn't require the group command first, but they do require the NEWNEWS command and how many of us don't support that command and do still call our server NNTP servers? The XOVER command is not required, but how many clients can work without it? When the RFC's were wrote we were not pushing 6 million articles a day into the news server. It's a very different world today, we've had to make some adjustments. BTW- The Highwinds software now allows slightly larger history files, but their design in general is crap since they made the group:number the primary key for their database. Message-id would have made a better primary key. -- Steve News Administrator YottaNews.com/NNTPServer.com
Re: ARTICLE msg-id
Author: Andrew - Supernews
Date: Wed, 22 Jun 2005 01:37
Date: Wed, 22 Jun 2005 01:37
48 lines
2986 bytes
2986 bytes
On 2005-06-22, YottaNews Support <spamtrap@yottanews.com> wrote: > On Tue, 21 Jun 2005 19:52:52 +0000, Andrew - Supernews wrote: > >> On 2005-06-21, Torbjorn Lindgren <tl@none.invalid> wrote: > >>> * May not work if the client hasn't used group first >> >> That's just broken (the spec explicitly does not require this) >> >>> * May not work if the client hasn't used group on one of the groups >>> this article is in. >> >> ditto > > This is the case on servers that have been setup with a proxy based front > end system. Only the poorly-designed ones. > The back ends store articles based on the group name. For > example, mp3 groups on one server, multimedia on another. The proxy front > end does not know what back end server to proxy to if the group command > isn't given. Netwinsite's software uses this method. Then it's up to the frontend to find out which. This is not rocket science. > It's true that the original RFC's doesn't require the group command first, The new RFC (due for release any day now, one hopes) doesn't either. > but they do require the NEWNEWS command and how many of us don't support > that command and do still call our server NNTP servers? NEWNEWS works fine here... > The XOVER command > is not required, but how many clients can work without it? When the RFC's > were wrote we were not pushing 6 million articles a day into the news > server. It's a very different world today, we've had to make some > adjustments. I'm guessing you've ignored, or chosen not to participate in, the work to update the RFC. However, you would not have had much support for crippling ARTICLE in that way. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: ARTICLE msg-id
Author: YottaNews Support
Date: Wed, 22 Jun 2005 03:43
Date: Wed, 22 Jun 2005 03:43
22 lines
2300 bytes
2300 bytes
On Wed, 22 Jun 2005 01:37:36 +0000, Andrew - Supernews wrote: > On 2005-06-22, YottaNews Support <spamtrap@yottanews.com> wrote: >> On Tue, 21 Jun 2005 19:52:52 +0000, Andrew - Supernews wrote: >> > I'm guessing you've ignored, or chosen not to participate in, the work to > update the RFC. However, you would not have had much support for crippling > ARTICLE in that way. I just brought up the point that the only two major commercial news server packages both have their own issues with message-id lookups. If I had my way, I would remove support for requesting articles by article number and make message-id the only supported method. Having two methods is stupid. Choose one or the other, but making servers keep two databases is a waste. -- Steve News Administrator YottaNews.com/NNTPServer.com
Re: ARTICLE msg-id
Author: Sébastien WILLEMIJNS
Date: Wed, 22 Jun 2005 09:31
Date: Wed, 22 Jun 2005 09:31
19 lines
2027 bytes
2027 bytes
On Tue, 21 Jun 2005 22:43:19 -0500, YottaNews Support <spamtrap@yottanews.com> wrote: >If I had my way, I would remove support for requesting articles by article >number and make message-id the only supported method. Having two methods >is stupid. Choose one or the other, but making servers keep two databases >is a waste. it is a little more 'short' for the network to use "ARTICLE XXXXX" instead of ARTICLE <xxxxxxxxxxxxxxxxxxxxxxx@xxxxxxxx> if you disable ARTICLE XXXX, maybe a lot of classical newsreader does not works i don't know.... -- Sébastien WILLEMIJNS, France www.willemijns.com www.nntpeng.willemijns.com (FAQ about open NNTP servers)
Re: ARTICLE msg-id
Author: Sébastien WILLEMIJNS
Date: Wed, 22 Jun 2005 09:44
Date: Wed, 22 Jun 2005 09:44
37 lines
2735 bytes
2735 bytes
On Tue, 21 Jun 2005 19:39:06 -0500, YottaNews Support <spamtrap@yottanews.com> wrote: >This is the case on servers that have been setup with a proxy based front >end system. The back ends store articles based on the group name. For >example, mp3 groups on one server, multimedia on another. The proxy front >end does not know what back end server to proxy to if the group command >isn't given. Netwinsite's software uses this method. whathever the software used, it is not logic... when with grabit you wish to... grab.... headers from a "free header NSP" and DL bodies with another server '"download with other servers" customers thinks you have not these bodies :-( >It's true that the original RFC's doesn't require the group command first, >but they do require the NEWNEWS command and how many of us don't support >that command and do still call our server NNTP servers? The XOVER command >is not required, but how many clients can work without it? When the RFC's >were wrote we were not pushing 6 million articles a day into the news >server. It's a very different world today, we've had to make some >adjustments. xover permit to capture date & subject, not newnews :-) >BTW- The Highwinds software now allows slightly larger history files, but >their design in general is crap since they made the group:number the >primary key for their database. Message-id would have made a better >primary key. ? -- Sébastien WILLEMIJNS, France www.willemijns.com www.nntpeng.willemijns.com (FAQ about open NNTP servers)
Re: ARTICLE msg-id
Author: Sébastien WILLEMIJNS
Date: Wed, 22 Jun 2005 09:47
Date: Wed, 22 Jun 2005 09:47
14 lines
1715 bytes
1715 bytes
On Wed, 22 Jun 2005 01:37:36 -0000, Andrew - Supernews <andrew+nonews@supernews.com> wrote: >I'm guessing you've ignored, or chosen not to participate in, the work >to update the RFC. how to do this ? -- Sébastien WILLEMIJNS, France www.willemijns.com www.nntpeng.willemijns.com (FAQ about open NNTP servers)
Re: ARTICLE msg-id
Author: John Smith
Date: Wed, 22 Jun 2005 10:19
Date: Wed, 22 Jun 2005 10:19
11 lines
1984 bytes
1984 bytes
YottaNews Support wrote: > I just brought up the point that the only two major commercial news server > packages both have their own issues with message-id lookups. > > If I had my way, I would remove support for requesting articles by article > number and make message-id the only supported method. Having two methods > is stupid. Choose one or the other, but making servers keep two databases > is a waste. > How would last, next, or article xxx work then?
Re: ARTICLE msg-id
Author: YottaNews Support
Date: Wed, 22 Jun 2005 12:55
Date: Wed, 22 Jun 2005 12:55
26 lines
2602 bytes
2602 bytes
On Wed, 22 Jun 2005 10:19:53 +0000, John Smith wrote: > YottaNews Support wrote: >> If I had my way, I would remove support for requesting articles by >> article number and make message-id the only supported method. Having >> two methods is stupid. Choose one or the other, but making servers keep >> two databases is a waste. >> >> > How would last, next, or article xxx work then? First of all why, are they really needed? Why can't the client just choose what it wants to download from the xover data. I don't know of any users (other than a few sucking feed tools) that really "read" news using the next commands. Simplify the protocol and you will simplify the server/client software which means fewer compatibility differences. Keep in mind, I was saying, if >I< had my why and could re-build the protocol I would remove all of unneeded fluff that greatly complicates the server/client software. -- Steve News Administrator YottaNews.com/NNTPServer.com
Re: ARTICLE msg-id
Author: Dr.Ruud
Date: Wed, 22 Jun 2005 14:32
Date: Wed, 22 Jun 2005 14:32
24 lines
2254 bytes
2254 bytes
YottaNews Support: > I would remove support for requesting articles by > article number and make message-id the only supported method. Having > two methods is stupid. Choose one or the other, but making servers > keep two databases is a waste. Nonsense. It is 'two keys', not 'two databases'. The Article-number doesn't even need to be stored, it can be derived from an array-index. The array can be filled with pointers to (or offsets of) Message-IDs, or with hashes of Message-IDs. To lookup an Article by Message-ID, could go like this: 1. calculate the hash of the supplied Message-ID 2. use that hash in a binary search (via the hash-key), and derive the Article-Number 3. use the Article-number to get to the data of the Article So if you already know the Article-number, you only need step 3. -- Affijn, Ruud
Re: ARTICLE msg-id
Author: YottaNews Support
Date: Wed, 22 Jun 2005 17:20
Date: Wed, 22 Jun 2005 17:20
33 lines
2752 bytes
2752 bytes
On Wed, 22 Jun 2005 16:32:55 +0200, Dr.Ruud wrote: > Nonsense. It is 'two keys', not 'two databases'. The Article-number > doesn't even need to be stored, it can be derived from an array-index. > The array can be filled with pointers to (or offsets of) Message-IDs, or > with hashes of Message-IDs. Two keys is the same thing as two databases. You have to keep two hash/btree/what_ever tables: message-id -> [article location data] group:number -> [article location data] or you could do (diablo style): message-id -> [article location data] group:number -> [message-id] or you could do (broken highwind style): message-id -> [group:number] group:number -> [article location data] In either case, you maintain two databases and do two lookups in the worse case. You end up with a trade off of either fast message-id requests or fast group:number requests. One will require one step the other two steps. No matter how you do it, one method will always be slower. If the protocol only allowed message-id requests you would only need one database/hash table/index/whatever_you_call_it... -- Steve News Administrator YottaNews.com/NNTPServer.com
Re: ARTICLE msg-id
Author: Curt Welch
Date: Wed, 22 Jun 2005 18:45
Date: Wed, 22 Jun 2005 18:45
24 lines
2387 bytes
2387 bytes
John Smith <jsmith@company.com> wrote: > YottaNews Support wrote: > > I just brought up the point that the only two major commercial news > > server packages both have their own issues with message-id lookups. > > > > If I had my way, I would remove support for requesting articles by > > article number and make message-id the only supported method. Having > > two methods is stupid. Choose one or the other, but making servers > > keep two databases is a waste. > > > > How would last, next, or article xxx work then? His point was to throw out everything connected with reference by article number including next and last. You can't do it in practice of course because every client would stop working. He knows that. He's just wishing it could be different because it would make building distributed servers far easier if we could throw out all use of local article numbers. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com http://NewsReader.Com/
Re: ARTICLE msg-id
Author: Curt Welch
Date: Wed, 22 Jun 2005 19:00
Date: Wed, 22 Jun 2005 19:00
26 lines
2765 bytes
2765 bytes
YottaNews Support <spamtrap@yottanews.com> wrote: > If I had my way, I would remove support for requesting articles by > article number and make message-id the only supported method. Having two > methods is stupid. Choose one or the other, but making servers keep two > databases is a waste. Here's the problem however. Clients need a command they can use to get headers for all the new articles in a group. To do that, you have to keep a database of articles indexed by group and by arrival time. So even if you throw out all use of article numbers, you have to replace it with something that's probably going to be just as bad in terms of how we set up the news servers. You either replace the article numbers with time stamps (which is nothing more than sparse article numbers), or you build a simple sequential list of headers and don't bother to label them (let the client refer to them by message-id), but you will still be forced to make sure the list order is consistent across multiple front-end machines. So the need for the client to have a way to easily identify new articles is what forces us to use something like article numbers. I don't see any way to get around that. All the variations of how you can do that seem to be no better or worse than the current article number protocol. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com http://NewsReader.Com/
Re: ARTICLE msg-id
Author: YottaNews Support
Date: Wed, 22 Jun 2005 22:10
Date: Wed, 22 Jun 2005 22:10
18 lines
2298 bytes
2298 bytes
On Wed, 22 Jun 2005 19:00:26 +0000, Curt Welch wrote: > Here's the problem however. Clients need a command they can use to get > headers for all the new articles in a group. To do that, you have to > keep a database of articles indexed by group and by arrival time. So > even if You could allow numbers, but only for the xover command. It's easy enough to number the lines in your xover data. You would not need to keep a full hash/database/index for group:number -> [spool location] if you didn't allow article <number>. Xover data would simply be a flat text file and you would index based on line number + starting value for the file. -- Steve News Administrator YottaNews.com/NNTPServer.com
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