- In this assignment, workers are fault tolerant. There is one more version where the master is "also" fault tolerant. Check
- Used Lua script to make operations atomic.
- Used Redis as Master To run the source code :
- Change the path in constants.py to directory in which all the files are stored.
- Set the number of workers.
- To try crashing or slowing down the workers, set N_CRASHING and N_SLEEPING workers.
- Acknowledgement : Starter code (structure of APIs) is provided by our Course Coordinator.
- Install redis from pip.
- Configure the redis-server on the port and run redis-client to start the master.
- Finally run
python3 client.py