DISTRIBUTED SYSTEM NOTE,IOE,TU,BCA
GLOBAL STATE AND STATE RECORDING
In a distributed system, the global state comprises the local states of each process, which include messages sent and received, as well as the state of each communication channel. The challenge lies in capturing this global state accurately. The primary difficulty arises from the absence of a global clock, resulting in the local states being recorded at different times for each process.
“Global State is the set of all local state of all process plus local state of all communication channels.”
Global Snapshot = Global State Individual state of each process in the distributed system + Individual state of each communication channel in the distributed system
• Capture the instantaneous state of each process
• Capture the instantaneous state of each communication channel, i.e., messages in transit on the channels
TYPES OF GLOBAL STATE