🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Greg Berigan Mon, 25 May 1998 00:00
Re: [FMTEYEWTK]: Message-IDs on USENET
#41148
Author: Greg Berigan
Date: Mon, 25 May 1998 00:00
37 lines
2688 bytes
link@tss.no (Terje Bless) wrote:

> No, there are a lot of crappy Message-IDs out there regardless of the
> reason (Y2K is incidental). This is because there is no one canonical
> way to generate Message-IDs; forcing developers to come up with their
> own, disparate, schemes.

This can almost be seen as a saving grace.  When everyone follows a
single canonical format, you restrict the number of combinations, and
thus increase the likelihood of a collision.  With disparate schemes,
collision is far more unlikely (barring accidental unions of possible
output).

For example, Pine IDs will never collide with *-NewsWatcher IDs.  (Not
to say that branding IDs with software names or reinventing the wheel
every day is a good thing.)

A global scheme to guarantee uniqueness of the local part of the ID is
doomed to failure.  The problem must be solved locally.  The locale
must not be made a specific newsreader product.  A local authority and
configuration of newsreader according to that authority is required.

Make it possible to take advantage of locally authoritative data and you
will enable the creation of these local authorities.  Let's create the
eggs so that we can have chickens later.  It will be in the users' best
interests to comply with such authorities.

Added news.software.readers.

-- 
         ,=<#)-=#  <http://incolor.inetnebr.com/wotw/> (The War of the Worlds)
    ,_--//--_,
 _-~_-(####)-_~-_  "Did you see that Parkins boy's body in the tunnels?" "Just
(#>_--'~--~`--_<#)  the photos.  Worst thing I've ever seen; kid had no face."

Re: [FMTEYEWTK]: Message-IDs on USENET
#41165
Author: Jeroen Scheerder
Date: Tue, 26 May 1998 00:00
73 lines
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

Re: [FMTEYEWTK]: Message-IDs on USENET
#41168
Author: Terje Bless
Date: Tue, 26 May 1998 00:00
52 lines
3144 bytes
In article <6kcobq$s9q$2@unlnews.unl.edu>,
    Greg Berigan <gberigan@cse.unl.edu> wrote:

>In article <link-2205981124450001@news.uit.no>,
>    Terje Bless <link@tss.no> wrote:
>
>>No, there are a lot of crappy Message-IDs out there regardless of the
>>reason (Y2K is incidental). This is because there is no one canonical
>>way to generate Message-IDs; forcing developers to come up with their
>>own, disparate, schemes.
>
>This can almost be seen as a saving grace.  When everyone follows a
>single canonical format, you restrict the number of combinations, and
>thus increase the likelihood of a collision.

Unless the scheme has been designed to deal with this problem.


>With disparate schemes, collision is far more unlikely (barring
>accidental unions of possible output).

This basically like reccomending using rendom numbers for Message-IDs!


>For example, Pine IDs will never collide with *-NewsWatcher IDs.

No, but YA-NW IDs can easily collide with other YA-NW IDs!


>A global scheme to guarantee uniqueness of the local part of the ID is
>doomed to failure.  The problem must be solved locally.

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


>The locale must not be made a specific newsreader product.  A local
>authority and configuration of newsreader according to that authority
>is required.

Agreed.

-- 
Party? Party, lord? Yes, lord. Right away, lord.
        - Beopunk Cyberwulf

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