[CST-2] Distributed systems
William R Sowerbutts
will@sowerbutts.com
Sat, 2 Jun 2001 18:05:35 +0100
On Sat, Jun 02, 2001 at 05:53:53PM +0100, Andrei Legostaev wrote:
>There seems to be an obvious problem with all distributed updates:
>
>How do we tell whether a failure is at the host or at the link? If we can't
>tell then, for example, a host whose ethernet connector fell out with think
>that "Everybody's Dead, Dave" and proceed to make updates to itself.
Use heartbeat messages.
>Was this problem addressed anywhere in the lectures/notes (perhaps we made
>some assumption by which we don't have to worry about this)?
She glossed over it. To be fair, how it should be handled is probably quite
frequently application-specific.
Especially irritating are notes like "Two-phase commit can't handle this;
Three-phase commit can" and then no explanation of how. Grrrrr!
Will
_________________________________________________________________________
William R Sowerbutts (BtG) will@sowerbutts.com
Coder / Guru / Nrrrd http://sowerbutts.com
main(){char*s=">#=0> ^#X@#@^7=";int c=0,m;for(;c<15;c++)for
(m=-1;m<7;putchar(m++/6&c%3/2?10:s[c]-31&1<<m?42:32));}