Project Members:
- Pratik Tiwari (2019201023)
- Jay Krishna (2019201019)
- Apurva Jadhav (2019201069)
- Himani Bhardwaj (2019201081)
Project Details:
Compile - make Run: Executable file named (node)
- First time node will create a ring and other will join the ring using IP and port of node already connected to ring
- create_ring
- join ip port (eg join 127.0.0.1 10000)
- display (output will be node details)
- fingertable (output will be fingertable of respective node)
- data_display (output will be data stored on current node)
- leave (leave node from ring)
Client will initially ask for IP and Port of any node connected to the sever. After providing IP and Port, client can you below two commands.
- upload (eg: upload operatingsystem)
- output on successfull upload will be "File uploaded to server"
- search (eg: search operatingsystem)
- output will be node id on which the string is stored.