comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: Distributed Systems Annex, data sharing between programs
Date: Sat, 9 Jun 2012 05:02:19 -0700 (PDT)
Date: 2012-06-09T05:02:19-07:00	[thread overview]
Message-ID: <6c92c206-0bfe-49ad-a732-fa93949e3032@z19g2000vbe.googlegroups.com> (raw)
In-Reply-To: jqu7qb$i1h$1@speranza.aioe.org

On 9 Cze, 03:10, tmo...@acm.org wrote:
> >The solution is to stop thinking in terms of RPC (remote procesure
> >calls), and start thinking in terms of messages.
>
>   How about asynchronous remote procedure calls.  They just
> fire-and-forget

Exactly. The difference is that with messages you do not have to
*forget*.
Firing and forgetting is easy - but firing and getting results later
on or just checking what has succeeded and what has not is an entirely
different use case. Messaging provides a valid solution to this
problem, while RPC not so much.

> Or in the
> example of possibly dead targets, use synchronous RPC that handles
> Communication_Error.

That can take several hundred milliseconds (or even many seconds) for
a failing call. Remember - you have *thousands* of targets.

>   But setting up the partition mapping for thousands of partitions might
> indeed be inappropriate.  ;)

Yep. The point is - this is no longer a single program. Just as our
communication here is not between separate partitions of a single
human entity, but rather between separate and autonomous entities.
Look, we don't even need to be awake at the same time for this
communication to happen. Why? How would you do that with "calls"
instead of "messages"?
Our posts here are messages, not calls.

--
Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com



  reply	other threads:[~2012-06-09 12:04 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-04 18:49 Distributed Systems Annex, data sharing between programs Adam Beneschan
2012-06-05  7:36 ` Maciej Sobczak
2012-06-05 16:02   ` Adam Beneschan
2012-06-05 18:35     ` tmoran
2012-06-06  7:14     ` Jacob Sparre Andersen
2012-06-06  7:39     ` Maciej Sobczak
2012-06-06  8:07       ` Dmitry A. Kazakov
2012-06-06 10:09       ` Niklas Holsti
2012-06-06 11:40         ` Maciej Sobczak
2012-06-06 12:08           ` Dmitry A. Kazakov
2012-06-06 19:17           ` Simon Wright
2012-06-08 11:38             ` Peter C. Chapin
2012-06-08 16:29               ` Simon Wright
2012-06-06 20:02           ` Niklas Holsti
2012-06-07 10:37             ` Maciej Sobczak
2012-06-08  2:11               ` Shark8
2012-06-08  6:31                 ` Pascal Obry
2012-06-08 21:26                 ` Maciej Sobczak
2012-06-09  1:10                   ` tmoran
2012-06-09 12:02                     ` Maciej Sobczak [this message]
2012-06-09 12:25                       ` Pascal Obry
2012-06-09 20:29                         ` Maciej Sobczak
2012-06-09  6:59                   ` Dmitry A. Kazakov
2012-06-13 10:55                     ` Marius Amado-Alves
2012-06-13 13:26                       ` Dmitry A. Kazakov
2012-06-14 20:29                       ` tmoran
2012-06-09  9:59                   ` Pascal Obry
2012-06-09 15:14                   ` Robert A Duff
2012-06-09 20:40                     ` Maciej Sobczak
2012-06-07  0:55           ` BrianG
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox