[erlang-questions] Question about message passing paradigm
Richard A. O'Keefe
ok@REDACTED
Tue Jul 1 05:37:18 CEST 2008
On 30 Jun 2008, at 8:49 pm, Hynek Vychodil wrote:
> Change your design from pull to push.
> Make servers which collect data and do something instead "request"
> data or actions.
I wondered about mentioning that too, because if B C D send their
information to A you only need three messages.
However, this creates two problems:
- the original poster appeared to want a *consistent snapshot*
of the information from B C D, which seems to require
synchronisation
- A might not be interested in X Y Z much of the time;
some sort of flow control scheme is needed to stop B C D
telling A stuff it doesn't want to know and can't cope with.
One would really need to take a look at the whole system,
as Hynek Vychodil suggests.
More information about the erlang-questions
mailing list