Distributed Systems

Stateless vs. Stateful server

Stateless server. Server sends off file or block, forgets all about it. Stateful server. Server keeps track of processes on machines that have this file open and of their...

Berkeley algorithm

The Berkeley algorithm is a method of clock synchronization in distributed computing which assumes no machine has an accurate time source. The algorithm: Unlike Cristian’s algorithm, the server process...

Clock Synchronization

Clock synchronization is a problem from computer science and engineering which deals with the idea that internal clocks of several computers may differ. Even when initially set accurately, real...

Token Ring Election Algorithm

Token Ring Election Algorithm Example We start with 6 processes, connected in a logical ring. Process 6 is the leader, as it has the highest number. Process 6 fails....

Bully Election Algorithm Example

We start with 6 processes, all directly connected to each other.Process 6 is the leader, as it has the highest number. Process 6 fails. Process 3 notices that Process...

Election Algorithms

Election Algorithms The coordinator election problem is to choose a process from among a group of processes on different processors in a distributed system to act as the central...

Mutual Exclusion

Mutual exclusion refers to the requirement of ensuring that no two concurrent processes are in their critical section at the same time; it is a basic requirement in concurrency control,...

Static Vs. Dynamic RPCs

• Fixed/Static binding The client knows the network address of the server. the client binds directly with server and carries out RPC execution. • Dynamic binding, which can be carried...

Difference between RPC and RMI

RMI: – The remote objects are accessed by the references. – Implements object to object implementation among different java objects to implement distributed communication model. – RMI passes the...

Clock synchronization

Distributed systems consist of a collection of distinct processes (called nodes) which are spatially separated and which communicate with one another by exchanging messages. The clocks of the nodes tick at different rates and...