🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.client-server
Article #24

Re: Synchronous vs Asynchronous

#24
From: Milton A. Colvin
Date: Sun, 01 Nov 1992 20:44
24 lines
1748 bytes

>>Have you tried writing something in CCS or CSP, which are based
>>on synchronous communications?  It seems quite natural to me.

>.  I think modeling client/server "synchrony" and "asynchrony"
>in CCS or CSP would involve modeling the communication media as a
>separate process, which would lose you a lot of the benefits of CCS and
>CSP's "synchronous" communication.

CSP/CCS programming is natural to the degree to which it hides asynchrony.
To model almost any interesting communications in CCS you have to model 
the channel/medium/etc as a process. Otherwise it's just not flexible enough.

For client/server models, you would might model each transaction as a port
(think of the transaction ID) and attempt to synchronize with it, or you
might assume all transactions are synchronopus server calls and try to
synchronize with the server.

Generally I find it easier to deal with asynchronously executed sets of 
synchronous tasks. Procedure call is just ingrained in most programming
languages. Asynchrony introduces too many intermediare/indeterminate states.

By the way, is the asynchronous logic stuff still going? 
Technical Details
Message-ID: <1992Nov1.204427.17665@dartvax.dartmouth.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!usc!rpi!bu.edu!dartvax!coos.dartmouth.edu!mac
References: <JAD.92Oct26124437@pimlico.nsa.hp.com> <5426@bacon.IMSI.COM> <1992Oct29.171931.13615@eecs.nwu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!usc!rpi!bu.edu!dartvax!coos.dartmouth.edu!mac
From: mac@coos.dartmouth.edu (Milton A. Colvin)
Newsgroups: comp.client-server
Subject: Re: Synchronous vs Asynchronous
Message-ID: <1992Nov1.204427.17665@dartvax.dartmouth.edu>
Date: 1 Nov 92 20:44:27 GMT
References: <JAD.92Oct26124437@pimlico.nsa.hp.com> <5426@bacon.IMSI.COM> <1992Oct29.171931.13615@eecs.nwu.edu>
Sender: news@dartvax.dartmouth.edu (The News Manager)
Organization: Dartmouth College, Hanover, NH
Lines: 24