IAT_DC_2MARK
IAT_DC_2MARK
IAT_DC_2MARK
1 State the differences from synchronous and asynchronous communication along with the
buffering strategy adapted in both.
Synchronous form of communication:
The sending and receiving processes synchronize at every message. In this case, both send and
receive are blocking operations. Whenever a send is issued the sending process is blocked until the
corresponding receive is issued. Whenever receive is issued, the process blocks until a message
arrives.
Asynchronous form of communication
The use of the send operation is non-blockingin that the sending process is allowed to proceed as
soon as the message has been copiedto a local buffer and the transmission of the message proceeds
in parallel with the sending process. The receive operation can have blocking and non-blocking
variants.
Processes can communicate with other Here, a process does not have private address
processes. They can be protected from oneanother space. So one process can alter the executionof
by having private address spaces. other.
8 Identify the relationship exist between e1 and e2 “if the two events e1 and e2 of two different processes occur at
same time independently”
The event e1 and e2 are defines consistent states.
9 Define the scalar time and the vector time.
Scalar time
The scalar time representation was proposed by Lamport to totally order events in a
distributed system. Time domain is represented as the set of non-negative integers.
The logical local clock of a process pi and its local view of global time are squashed into
one integer variable Ci.
vector time
The system of vector clocks was developed Fidge, Mattern, and Schmuck.
Here, the time domain is represented by a set of n-dimensional non-negative integer
vectors.
Each process pi maintains a vector vti[1..n], where vti[i] is the local logical clock of pi that
specifies the progress at process.
10 Define middleware.
A distributed software is also termed as middleware.
A distributed system follows a layered architecture that reduces the complexity of
the system design.
Middleware hides the heterogeneity transparently at the platform level.
11 Define Processor synchrony
Processor synchrony indicates that all the processors execute in lock-step with their
clocks synchronized.
As this synchrony difficult in a distributed system, a large granularity of code, is
termedas a step, the processors are synchronized.
This synchronization ensures that no processor begins executing the next step of
code until all the processors have completed executing the previous steps of code
assigned to each of the processors.
12 Define Causal precedence relation.
The execution of a distributed application results in a set of distributed events
produced by the processes.
Let H =Uihi denote the set of events executed in a distributed computation.
a binary relation on the set H is denoted as →, that expresses causal dependencies
between events in the distributed execution.
If the skew is bounded by ρ, then as per Eq.(3.1), clock values are allowed to diverge at a
ratein the range of 1−ρ to 1+ρ.
2. Drift (rate) The drift of clock Ca is the second derivative of the clock value with respect
to time, namely, Ca''(t). The drift of clock Ca relative to clock Cb at time t is is Ca''(t)−Cb''(t).