Article View: news.software.readers
Article #41165Re: [FMTEYEWTK]: Message-IDs on USENET
From: Jeroen Scheerder
Date: Tue, 26 May 1998 00:00
Date: Tue, 26 May 1998 00:00
73 lines
4726 bytes
4726 bytes
Terje Bless <link@tss.no>:
[generating Message-IDs with guaranteed uniqueness]
> [..] The problem needs to be modularized to reccomend a global scheme
> that makes use of local data in addition to the global data. UTC time
> and DNS is fine for the global part, but there needs to be some
> standard way to generate a unique local part (not LHS of Message-ID,
> but some part of the Message-ID that is there to separate it from other
> mesages generate at the same time within the scope of the same FQDN).
I agree. Within a particular fqdn, it used to be that usernames (along
with UTC time) sufficed.
Not anymore so, perhaps, in the case of either parallellism -- multiple
msgids might be generated simultaneously for one and the same user.
So-called "account sharing" could cause this type of problematic
parallellism. Yes, it's a stupid thing to do, but that never seems to
stop it from happening.
There's a standard trick, though, to deal with this: serialization.
Conceptually, I fail to see (but am always willing to learn) why a
global, canonical, satisfactory msgid generation scheme could not be
derived from these observations.
A general strategy could be:
* Use as much "disambiguating" information as available
(both "global" and "local"). Obvious candidates are
UTC time with username at the LHS, and FQDN at RHS.
* Given this method, analyze whenever ambiguity may occur,
and deal with it explicitly. This is the hard bit, which
may require more than a single application can establish.
Ambiguity may arise (within this scheme) whenever the same
user@fqdn initiates multiple msgid-generation requests at
within a one-second interval.
Serialization can be acomplished by `batching' msgid requests
for each one-second interval, and disambiguate by adding
arbitrary enumeration to all duplicates, thus disambiguating
them.
The latter -- rarely needed, but essential if you want to have absolute
guarantees -- requires some "synchronization" outside the scope of a
single program. If two programs use exactly the same (deterministic)
algorithm, they'll generate the same msgid when used under identical
conditions; to deal with this in a deterministic way, some form of
inter-program (or program-transcending) functionality is needed.
In some sense, there exist such program-transcending functionality, at
server level. Here, uniqueness of msgids can be certifie; but that's
not a solution, because it can be essential that clients have actual
knowledge about the msgid for some reason, in which case the "black box"
unifying power that news servers offer does not help at all.
Either that, or one could gamble upon a non-deterministic solution --
i.e. by adding some random number. Good, solid, unpredictable
randomization, though, is quite hard to achieve; and furthermore, a low
probability of conflict does still not equal a 100% failsafe guarantee
of unicity of msgids. Probabilistics, however tempting, may not
suffice.
So maybe, to get it _really_ right, some soft of "Message ID
distribution/generation architecture" might be helpful, if not
necessary. If one really wants to be sure to be sure.
-- J$
--
dash dash space
this is my .sig it's not so .big
Technical Details
Message-ID:
<1d9ncts.gds7ts1ys3fq1N@cats.xs4all.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mailReferences:
<D.Langford-ya02408000R3004981435080001@news.ukc.ac.uk> <grinch-ya02408000R3004980905230001@news.direct.ca> <rbraun-3004981959190001@dialin1141.cstone.net> <baclark-3004981941540001@news.acns.nwu.edu> <rbraun-3004982245170001@dialin1182.cstone.net> <link-1905982141580001@news.uit.no> <1d9aa5e.nc7ttw1fx0hz4N@roxboro0-051.dyn.interpath.net> <link-2105981427580001@news.uit.no> <rbraun-2105981318340001@dialin1133.cstone.net> <link-2205981124450001@news.uit.no> <6kcobq$s9q$2@unlnews.unl.edu> <link-2605981706480001@news.uit.no>Show Full Headers
Complete Article Headers
Message-ID: <1d9ncts.gds7ts1ys3fq1N@cats.xs4all.nl> Subject: Re: [FMTEYEWTK]: Message-IDs on USENET Date: Tue, 26 May 1998 00:00:00 +0000 From: js@xs4all.nl (Jeroen Scheerder) References: <D.Langford-ya02408000R3004981435080001@news.ukc.ac.uk> <grinch-ya02408000R3004980905230001@news.direct.ca> <rbraun-3004981959190001@dialin1141.cstone.net> <baclark-3004981941540001@news.acns.nwu.edu> <rbraun-3004982245170001@dialin1182.cstone.net> <link-1905982141580001@news.uit.no> <1d9aa5e.nc7ttw1fx0hz4N@roxboro0-051.dyn.interpath.net> <link-2105981427580001@news.uit.no> <rbraun-2105981318340001@dialin1133.cstone.net> <link-2205981124450001@news.uit.no> <6kcobq$s9q$2@unlnews.unl.edu> <link-2605981706480001@news.uit.no> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mail X-Deja-AN: 356663561 Sender: js@cats.xs4all.nl Mail-Copies-To: never X-XS4ALL-Date: Tue, 26 May 1998 18:01:44 CEST X-XS4ALL-User: js@xs4all.nl on cats.xs4all.nl X-Face: (u%,<Ek_K4]BW;*pmlV&,Ev+p0W0hHt,PZs7\2OV%HhTE5\$\MU79J|bQB_m3G"n ,Mz'Pb6*(Z~Wr\GkY`X<!RfA0%7R Organization: Al-Munqidh min-al-Dalaal Newsgroups: comp.sys.mac.comm,news.software.readers