Skip to content

Implementing Lamport clock for distributed processes.

Notifications You must be signed in to change notification settings

Sujaya/lamport_clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

lamport_clock

Implementing Lamport clock for distributed processes.

Message format:
client to DC

CLIREQ: <dcID>, <noOfTickets> CLIREQ: 1, 4

Between DCs:
REQ: <selfID>, <noOfTickets> REP: <selfID>, <noOfTickets> REL: <selfID>, <remTickets>

serverConfig:\

{ "datacenters": { "d1": ["127.0.0.1", 5001], "d2": ["127.0.0.1", 5002], "d3": ["127.0.0.1", 5003] },

"tickets": 20

}

About

Implementing Lamport clock for distributed processes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages