Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Questions about DCE RPC and DFS
@ 1994-04-27 23:42 mick
  1994-04-28 21:29 ` Craig_Everhart
  0 siblings, 1 reply; 5+ messages in thread
From: mick @ 1994-04-27 23:42 UTC (permalink / raw)


Hi,

  could anyone please help me out with the following few
questions (answers by email please):

o Does anyone know of any references that compare DCE RPC
  to Sun RPC ? (these refs may answer some of the following)

o As I understand it DCE RPC is based upon NCS RPC (formally 
  Apollo RPC ?). Apollo, I believe, supported data
  representation compatibility by encoding RPC arguments
  using the senders format and tagging the RPC message with
  an indication of the senders architecture. The recieving
  stub is responsible for decoding the arguments based upon
  it having knowledge of the senders formatting conventions.

   - Is the same method of encoding used in DCE ?
     (If it isn't I presume it uses some form of canonical data 
     encoding, if so is this based upon implicit or explicit 
     typing ?)

   - If it is the same as in Apollo what happens if the reciever
     doesn't know how to convert from the senders representation ?
   
o From the little information I've found on DCE RPC I understand 
  it supports several transport protocols and binding services.
  Does the DFS rely upon any particular RPC transport or binding 
  service (eg TCP rather than UDP) ?

o My final question concerns pathname parsing within DFS. Does DFS
  pass pathnames from client to server or does it support a lookup
  operation as in NFS.

Thanks for you time, mick.
---
Mick McPadden, Dept of Computing Mathematics, E-Mail mick@cm.cf.ac.uk
University of Wales College of Cardiff        Phone  +44-222 874812 
PO Box 916, Cardiff, CF2 4YN, Wales, UK.      Fax    +44-222 666102


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions about DCE RPC and DFS
  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
  1994-04-29 13:52   ` Dave Skeen
  0 siblings, 2 replies; 5+ messages in thread
From: Craig_Everhart @ 1994-04-28 21:29 UTC (permalink / raw)


Excerpts from netnews.comp.unix.osf.misc: 28-Apr-94 Questions about DCE
RPC and.. mick@cm.cf.ac.uk (1590) 

> o As I understand it DCE RPC is based upon NCS RPC (formally 
>   Apollo RPC ?). Apollo, I believe, supported data 
>   representation compatibility by encoding RPC arguments 
>   using the senders format and tagging the RPC message with 
>   an indication of the senders architecture. The recieving 
>   stub is responsible for decoding the arguments based upon 
>   it having knowledge of the senders formatting conventions. 

>    - Is the same method of encoding used in DCE ? 
>      (If it isn't I presume it uses some form of canonical data 
>      encoding, if so is this based upon implicit or explicit 
>      typing ?) 

>    - If it is the same as in Apollo what happens if the reciever 
>      doesn't know how to convert from the senders representation ? 

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. 
>    
> o From the little information I've found on DCE RPC I understand 
>   it supports several transport protocols and binding services. 
>   Does the DFS rely upon any particular RPC transport or binding 
>   service (eg TCP rather than UDP) ? 

DFS doesn't rely on TCP under RPC. 

> o My final question concerns pathname parsing within DFS. Does DFS 
>   pass pathnames from client to server or does it support a lookup 
>   operation as in NFS. 

DFS doesn't pass pathnames.  The client has a representation of each
directory in a pathname lookup, as does NFS.  The cache-consistency
rules are totally different between DFS and NFS, though. 

		Craig 
 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions about DCE RPC and DFS
  1994-04-28 21:29 ` Craig_Everhart
@ 1994-04-29  1:52   ` Nathaniel Mishkin
  1994-04-29 13:52   ` Dave Skeen
  1 sibling, 0 replies; 5+ messages in thread
From: Nathaniel Mishkin @ 1994-04-29  1:52 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions about DCE RPC and DFS
  1994-04-28 21:29 ` Craig_Everhart
  1994-04-29  1:52   ` Nathaniel Mishkin
@ 1994-04-29 13:52   ` Dave Skeen
  1 sibling, 0 replies; 5+ messages in thread
From: Dave Skeen @ 1994-04-29 13:52 UTC (permalink / raw)


In article <Ahk2fCOSMUQdN095Eu@transarc.com> Craig_Everhart@transarc.com writes:
   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. 

I believe this is a fundamental difference between DCE RPC and ONC
RPC.  In DCE, there is an obvious performance advantage between
compatible systems (ie, no conversion); but, every system has to know
how to perform conversion for every type of data representation.  In
ONC, there is always some cost associated with conversion to XDR; but,
that's the only "foreign" data representation the systems need to
know.
--
Dave Skeen, Mead Data Central	Internet: dls@meaddata.com
9555 Springboro Pike		UUCP: ...!uunet!meaddata!dls
Miamisburg, OH 45342		(800)253-5624 ext 2895


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Questions about DCE RPC and DFS
@ 1994-05-02 14:04 Doug Hartman
  0 siblings, 0 replies; 5+ messages in thread
From: Doug Hartman @ 1994-05-02 14:04 UTC (permalink / raw)


Re: receiver-makes-it-right

The issue about protocol extension is correct, but is not unique
to the DCE/NCS data representation--if you change what the sender
sends, then the receiver needs to know what to do with it.  The
name receiver-makes-it-right seems to imply unlimited flexibility
requirements on the receiver ("OK, PDP-10 input with 36 bit words,
time to make it right"), whereas in actuality the sender has
a small set of canonical data representation choices to make,
and tags the data with the choice it makes.  The receiver has to
handle these choices, but no others.  The choices allow most systems
to avoid data conversions when sender and receiver are similar,
which is a small win for simple data types and a bigger win for
complex types such as floating point (and soon to be supported
multibyte characters).  "Unusual" architectures (e.g. PDP-10)
still have to do conversions before transmission.

Doug Hartman


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1994-05-02 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1994-04-29 13:52   ` Dave Skeen
  -- strict thread matches above, loose matches on Subject: below --
1994-05-02 14:04 Doug Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox