Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: benne@minsti01.MNWF.Uni-Augsburg.DE (Bernd Dreier)
Subject: Re: DCE Questions.
Date: Tue, 1 Feb 1994 09:42:54 GMT	[thread overview]
Message-ID: <CKJHnJ.Lx2@Yuri.CC.Uni-Augsburg.DE> (raw)
In-Reply-To: 2ijd6k$69t@news.tamu.edu

In article <2ijd6k$69t@news.tamu.edu>, muppidi@cs.tamu.edu
(Shridhar R Muppidi) writes: > Hello, >   I have a few questions related to DCE RPC - would appreciate 
> if anybody could take some time and answer them. I'll post a 
> summary once I get all he answers.  
> 
> 1. Is it possible in DCE RPC to have one piece of code 
>    act as both server and client? 
> 

Yes, no problem.
Client & server are just theoretical terms to give an
abstraction, that can be easily understood. You can have a
client, which starts a new thread and this thread will act as a
server. The other way round its possible, too. Think of the DCE
core components itself. Almost every server of the core
components is a client also. For example, the CDS proofs the
identity of client via using security as a client.

> 2. Is it possible to have same server code running on
>    different processors/hosts? A perfect example is a 
>    parallel machine. Lets say that a client requires 
>    service and contacts the CDS and gets the address of 
>    the host providing the service. Now a different client
>    needs the same service - is it possible to provide the
>    same service on a different processor/host. If 'yes' how
>    does the CDS know about it and direct the new client to the
>    new host?
> 

I'm not sure about what you're talking exactly. So, first it is
also possible for the NEW client to use the same server as the
older one. In addition to this you have no problem with starting
the same service on a different processor or host. The selection,
which server should be used, is done by the client. You have to
make your client intelligent AND you have to make your new server
registrated in CDS. The flow will now be: The second client comes
to CDS and gets all addresses of servers, which provide the
needed service. The client himself looks up, which of them he
wants to use.

> 3. Finally, can marshaling totally overruled by 'out_of_line'
>    attributes? Can it by substituted by some other user
>    defined packing?

The "out_of_line" attribute can, as far as know, only be used on
non-scalar types. Scalar types are marshalled anyway. Also this
doesn't mean that you can use user defined packing. It have to be
understood in the sense of out_of_line code, in opposite to the
default in_line code for marshalling. So, what you gain is less
code, what you loose is performance.

> 
> Thanks a lot
> -muppidi
> (muppidi@cs.tamu.edu)

Hope this helps!

-- 
++Benne,

Bernd Dreier
[Dreier@Uni-Augsburg.de]


  reply	other threads:[~1994-02-01  9:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-01-31 16:55 DCE Questions Shridhar R Muppidi
1994-02-01  9:42 ` Bernd Dreier [this message]
1994-02-01 12:45 ` Jon Mauney
1994-02-01 18:13   ` Ted W. Larson
     [not found]     ` <2itvfm$77t@ftn.ftn.us-ny.citicorp.com>
1994-02-06 12:33       ` Manfred Scheible
1994-02-03 21:46 ` Reilly F. Hayes
1994-02-09 16:23   ` Jamison H Abbott
1994-02-10 17:41     ` Seiichi Tatsukawa
1994-02-08 17:04 ` Rich Salz
  -- strict thread matches above, loose matches on Subject: below --
1994-10-21  5:22 Carl Hoang
1994-10-24 22:42 ` Gerry Palo
1994-10-26  0:18   ` Dr. James W. Hong
1994-01-20 13:32 Jaqui Lynch
1994-01-21 13:53 ` Mark Hickey
1994-01-21 14:23 ` Craig Weeks
1994-01-21 19:12 ` Wanda Monroe
1993-08-12 15:25 DCE questions Per Igel
1993-08-12 19:47 ` Rich Salz
1993-08-13 15:01 ` Greg Brail
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