CS6650 Building Scalable Distributed Systems
Copy, build and run the code from Week 4
Multiple threads - LamportClient.java - exchange messages through a shared bounded buffer, and execute a fixed number of iterations
These threads alternate between internal events and sending/receiving messages to increment the logical clock
Random sleep periods ensure we get very non-deterministic behaviour
Threads can’t consume message that they sent.
Threads complete and print out the order of events thay see locally. Currently this is not synchronized so the output interleaves, making it impossible to interpret.
Your tasks: