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

Поделиться
HTML-код
  • Опубликовано: 17 окт 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.