Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: jabbott@world.std.com (Jamison H Abbott)
Subject: Re: DCE Questions.
Date: Wed, 9 Feb 1994 16:23:14 GMT	[thread overview]
Message-ID: <CKytIr.x4@world.std.com> (raw)
In-Reply-To: rfh.760311992@calypso

rfh@das.ml.com (Reilly F. Hayes) writes:

>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 the answers.

>>1. Is it possible in DCE RPC to have one piece of code
>>   act as both server and client? 

>Yes.  Many servers are clients to other servers.  I suspect what you may 
>be asking about is whether or not a particular client can also act as
>a server to its server (yielding a "full-duplex" client/server server/client 
>relationship.) This would be useful if, during a long term session, you wanted 
>the server to be able to initiate unsolicited communications/actions. The
>answer to this is also yes.  Some aspects of the how to do this are annoying,
>but not really difficult.

*** DANGER WILL ROBINSON...
Yes, you can do this and its a useful capability.  BUT, if your RPC calls
have blocking semantics you can get yourself into a nasty distributed deadlock
situation.  ( I KNOW how big a problem this can be because a system I helped
create a few years ago ran into this problem--and I had to diagnose it and
fix it...).  Beware!

Regards,
Jim



>>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?

>Yes.  All of them might have entries in the CDS, perhaps under the 
>same name.  No, the CDS does not know about who is using which 
>servers. (n.b. The CDS is relatively slow at propagating data.  It is
>a poor place to store highly dynamic data like this.)

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

>Why would you want to?  There is a type called byte, which is immune to 
>translation. 

>--
>_____________________________________________________________________________
>Reilly Hayes    |  The Crystal Wind is the Storm,            | This Space   
>rfh@ml.com      |  the Storm is Data, and the Data is Life   | Intentionally
>212-236-9526    |                     - The Player's Litany  | Left Blank


  reply	other threads:[~1994-02-09 16:23 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
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 [this message]
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