From: mishkin@atria.com (Nathaniel Mishkin)
Subject: Re: Questions about DCE RPC and DFS
Date: Fri, 29 Apr 1994 01:52:24 GMT [thread overview]
Message-ID: <CozzvD.5Io@atria.com> (raw)
In-Reply-To: Ahk2fCOSMUQdN095Eu@transarc.com
Craig_Everhart@transarc.com wrote:
: DCE RPC uses a ``receiver-makes-right'' representation. Presumably the
: receiver always knows what the sender's representation is, knowing how
: to interpret the tag. I can't comment on what happens if the protocol
: is extended to include a new representation.
Obviously, if a new data rep were added, receivers of data on systems
whose creation pre-dated the addition of the new rep would not be able
to process the data. This argues against adding such reps. To the
extent that the term "receiver makes right" implies some magic in this
area, it's a bad term. There _is_ no magic. We came to decide that a
better term is "multi-canonical". Each system wanting to send data
has a fixed-size set of reps to choose from. If there is an exact
match between a system's native rep and one of the the reps in the
set, the system should in all likelihood use that rep. (It can, in
theory, use some other rep. E.g., it could be a relatively fast
machine that wants to do its relatively slower peer a "favor" by
encoding in the peer's native rep, assuming it knows what that is and
that it's one of the standard reps.)
In case there is no exact match between a system's native rep and one
of the standard reps, the system would presumably pick the one that's
easiest and/or fastest to convert to before putting the data on the
wire. In practice, this situation is unlikely to occur since the
number of reps in actual use is going down, not up, and the DCE RPC
NDR protocol covers the common cases.
The wide variety of character sets across the world is a complication,
but, when understood correctly (i.e., as multiple data _types_, not
multiple data type _representations_), you can see that it's probably
not best solved at the data encoding layer.
--
-- Nat Mishkin
Atria Software, Inc.
mishkin@atria.com
next prev parent reply other threads:[~1994-04-29 1:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-04-27 23:42 Questions about DCE RPC and DFS mick
1994-04-28 21:29 ` Craig_Everhart
1994-04-29 1:52 ` Nathaniel Mishkin [this message]
1994-04-29 13:52 ` Dave Skeen
-- strict thread matches above, loose matches on Subject: below --
1994-05-02 14:04 Doug Hartman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox