Skip to content

Chandy Lamport Snapshot algorithm implementation using Google’s protocol buffer.

Notifications You must be signed in to change notification settings

sarangsawant/BankingApplication-Chandy-Lamport-Snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BankingApplication-Chandy-Lamport-Snapshot

Using Google’s protocol buffer for marshalling and unmarshalling messages and TCP sockets for sending and receiving messages.

Description:

BranchServer.java It included the logic specific to each Branch

Controller.java The controller initiates snapshot

Bank.java This file is created by .proto file (google protocol buffer)

Steps:

$make

It will compile all the files and initializes the branch on given port number $.branch.sh

This way we can start a branch on a specified port $controller.sh

Amount is distributed evenly among all the branches. Information of all branches is read from