Article View: comp.client-server
Article #9Re: Client/Server - rpc
From: Jordan Hayes
Date: Tue, 27 Oct 1992 17:40
Date: Tue, 27 Oct 1992 17:40
24 lines
1421 bytes
1421 bytes
John Dilley <jad@nsa.hp.com> writes: The point is to preserve the more convenient synchronous model. But is it really more convienient? I think it's rather contrived. I believe that we live in an asynchronous world. As such, asynchronous programming is "natural" to me. The whole notion of giving up control to a proceedure call that may take an indeterminate amount of time seems backwards to me. I even get nervous calling gethostbyname() ... :-) I argue that the asynchronous model splits the synchronous model up: you make a call, [block awaiting responses, select the response to your call,] and finally resume. Except it's more like: instantiate the call, return to the dispatcher. When the response arrives, invoke the callback with the local state. This is orthogonal to syncronous processing. There's no such thing as "blocking" except (in UNIX) where you call select() in your main loop. Then you're not really "blocked" per se, but rather sleeping. /jordan
Technical Details
Message-ID:
<5426@bacon.IMSI.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!rpi!psinntp!psinntp!bacon!jordanReferences:
<JAD.92Oct26124437@pimlico.nsa.hp.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!rpi!psinntp!psinntp!bacon!jordan From: jordan@IMSI.COM (Jordan Hayes) Newsgroups: comp.client-server Subject: Re: Client/Server - rpc Message-ID: <5426@bacon.IMSI.COM> Date: 27 Oct 92 17:40:32 GMT Article-I.D.: bacon.5426 References: <JAD.92Oct26124437@pimlico.nsa.hp.com> Sender: news@bacon.IMSI.COM Organization: Investment Management Services Inc., NYC Lines: 24