🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59555

Re: Duplicate message IDs -- handling by common servers

#59555
From: Andrew - Supernews
Date: Sat, 13 Jul 2002 22:05
40 lines
2626 bytes
In article <3D303E15.90700@gmx.de>, Martin Kotulla wrote:
> Duplicate message IDs should not happen, however they are a fact of 
> life. How do the major NNTP servers (INN, DNews, Typhoon, Cyclone, 
> Diablo) handle messages with duplicate Message-IDs?

by rejecting the duplicate one as usual.

> Can I be _absolutely_ 100% sure that _none_ of them can have two 
> different messages with the same Message-ID in their spool at the same 
> time?

no. All of the common servers have some sort of failure mode than can
result in duplicate IDs, for example history file corruption, too-short
history (for the Highwind servers), etc.

> i.e., can I safely always replace ARTICLE n by ARTICLE mid?

This is known not to work on some Highwind systems if the configured
history size is too small for the current retention; in such a situation
the older articles are not retrievable by message-id at all, though they
can be accessed by article number.

Our server in fact has the same problem, but only for articles more than
about 250 days old.

> Does retrieving by Message-ID on today's servers incur a performance 
> penalty as opposed to retrieving by article number?

this is hard to predict - as a general rule access by number involves
hitting the overview then the article itself, whereas access by id involves
hitting the history then the article, but the relative performance of the
two will depend mainly on implementation details. However, if you're going
to do a lot of accesses from the same group, then locality-of-reference
arguments suggest that access by number is more likely to be faster
(though there are implementations where this is not true).

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID: <slrnaj190s.21jm.andrew+nonews@trinity.supernews.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.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <3D303E15.90700@gmx.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrnaj190s.21jm.andrew+nonews@trinity.supernews.net>
Subject: Re: Duplicate message IDs -- handling by common servers
Date: Sat, 13 Jul 2002 22:05:16 -0000
From: Andrew - Supernews <andrew+nonews@supernews.com>
References: <3D303E15.90700@gmx.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://www.supernews.com - all your nntp are belong to us
Reply-To: andrew@supernews.com
User-Agent: slrn/0.9.7.4 (FreeBSD)
X-Complaints-To: newsabuse@supernews.com
Lines: 39