Using simple diffusion to synchronize the clocks in a distributed system