🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.client-server
Article #31

Re: Client/Server - rpc

#31
From: Greg Brail
Date: Mon, 02 Nov 1992 22:25
29 lines
2190 bytes
In article <JAD.92Oct28104214@pimlico.nsa.hp.com> jad@nsa.hp.com (John Dilley) writes:
>In article <5429@bacon.IMSI.COM> jordan@IMSI.COM (Jordan Hayes) writes:
>> That's exactly what needs to be preserved.  Consider the two types of
>> requests TellMeAbout and StopTellingMeAbout ... if the
>> StopTellingMeAbout message shows up before the TellMeAbout in a quick
>> transaction, what happens?
>
>	In the synchronous (DCE RPC) model I would have created a single
>thread that calls TellMeAbout some number of times, blocking to await
>the reply to each, then called StopTellingMeAbout prior to exiting the
>thread.  As you and rcbc@honir.cs.cornell.edu (Robert Cooper) correctly
>point out, this will cause my thread to block awaiting each reply from
>the server.  I agree that an asynchronous, sequenced communication
>system could significantly improve the efficiency of this call sequence.

Actually, with DCE RPCs you could specify the "maybe" attribute for 
TellMeAbout and StopTellingMeAbout, which requires that your RPC returns
no data. DCE doesn't guarantee that "maybe" RPCs are delivered, but it
presumably doesn't wait for a response either. This would be a better
way to implement such asynchronous communication if you're willing to
check that the message got received on your own, or if you don't care if
the message gets received.

				greg
-- 
Greg Brail ------------------ Citibank -------------------- gjb@fig.citib.com
lose (lOOz) v. 1. a. To be unable to find; mislay. b. To incur the 
deprivation of, as by negligence or accident. 2. To be unable to maintain,
sustain, or keep. 3. The most commonly misspelled word on Usenet.
Technical Details
Message-ID: <Bx40zA.Ep8@fig.citib.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!ames!agate!doc.ic.ac.uk!uknet!mcsun!sunic!psinntp!psinntp!ibism!gjb
References: <JAD.92Oct26125449@pimlico.nsa.hp.com> <5429@bacon.IMSI.COM> <JAD.92Oct28104214@pimlico.nsa.hp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!ames!agate!doc.ic.ac.uk!uknet!mcsun!sunic!psinntp!psinntp!ibism!gjb
From: gjb@fig.citib.com (Greg Brail)
Newsgroups: comp.client-server
Subject: Re: Client/Server - rpc
Message-ID: <Bx40zA.Ep8@fig.citib.com>
Date: 2 Nov 92 22:25:58 GMT
References: <JAD.92Oct26125449@pimlico.nsa.hp.com> <5429@bacon.IMSI.COM> <JAD.92Oct28104214@pimlico.nsa.hp.com>
Sender: news@fig.citib.com
Organization: Citibank IBISM
Lines: 29