From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111308,607935dda9b15b31 X-Google-Attributes: gid111308,public X-Google-Thread: f678f,607935dda9b15b31 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-02-09 08:23:14 PST Xref: gmd.de comp.client-server:2435 comp.unix.osf.misc:979 Newsgroups: comp.client-server,comp.unix.osf.misc Path: gmd.de!xlink.net!news.belwue.de!news.dfn.de!news.dfn.de!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!world!jabbott From: jabbott@world.std.com (Jamison H Abbott) Subject: Re: DCE Questions. Message-ID: Organization: The World Public Access UNIX, Brookline, MA References: <2ijd6k$69t@news.tamu.edu> Date: Wed, 9 Feb 1994 16:23:14 GMT 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