sample distributed apps which keep synced in case of netsplit (and node crashes, too)