Skip to content
SEE Exam Prep

Question 3 of 15 · CIE-2 QB · 2 marks

Open in ChatGPT

What is message logging?


Message logging records the messages a process receives, in order, so its state can be rebuilt after a failure.

  • Mechanism: each message is written to stable storage as it arrives.
  • Recovery: restart from the last checkpoint and replay the logged messages.
  • Advantage: checkpoints can be taken independently and asynchronously.
  • Cost: every message is written to stable storage.
  • Assumption: the process is piecewise deterministic.