Need assistance implementing the following:
1a. leader election algorithm using the ring algorithm
1b. leader will serve as the time server. Specifically, implement the Berkeley clock synchronization algorithm
2a. multiple front-end nodes can read and write to the database at the same time. We need a read-write lock to protect us. implement a distributed read-write lock using the leader.
Would prefer to use python if possible. If not, then java.
***Note: Please list your time and cost estimate in your proposal
***Note: There is a short time frame on this. Want completed by Thursday