title: Example of logical order and total order in distributed system
body: <p>Total order:  </p>
  
  <blockquote>
    <p>Lamport timestamps can be used to create a total ordering of events in
    a distributed system by using some arbitrary mechanism to break ties
    (e.g. the ID of the process).</p>
  </blockquote>
  
  <p>Logical order: </p>
  
  <blockquote>
    <p>When two entities communicate by message passing, then the send event
    is said to 'happen before' the receive event, and the logical order
    can be established among the events </p>
  </blockquote>
  
  <p><a href="https://en.wikipedia.org/wiki/Lamport_timestamps" rel="nofollow">enter link description here</a></p>
  
  <p>Can anyone give me an example where I can see the differences of logical order and total order? What is the difference of both orders?</p>