"How to Have your Causality and Wall Clocks, Too" by Jon Moore

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ก.ย. 2024

ความคิดเห็น • 1

  • @chuckwegrzyn
    @chuckwegrzyn 4 ปีที่แล้ว +1

    Makes me wonder why we just don't include the idea of a "nonce" and sequence number in a log message. The send of a message includes a nonce and sequence number. The receiver will log the nonce and sequence number. When the receiver sends a request to another server it just copies the nonce and increments the sequence number.
    This makes it easy to extract all information log lines for a particular transaction (aka nonce). And the sequence number shows the ordering.