Skip to content

Implemented the Content Addressable System (CAN) protocol using Java RMI. Incorporated features like peer join and leave, insert and search for keyword in a decentralized distributed hash table p2p environment.

Notifications You must be signed in to change notification settings

EcoRIIHC/Content-Addressable-Network-1

 
 

Repository files navigation

Akansha Sharma
Distributed Systems - Project1

The implementation covers:
1. File insert (with a simple String keyword)
2. File retrieve (with a simple String keyword)
3. View peer information (node ID, IP Address, coordinates, data items)
4. Peer join (with random x and y coordinates)
5. Peer leave is NOT attempted and the leave option simply  exits out of the code.

Server
The bootstrap server should contain the interface as well as the implementation of the interface i.e. BootStrapServer.java and 
BootStrapServerImpl.java
Client:
The client should contain the Peer.java, PeerImpl.java and the Neighbor.java files

To start the project, first run BootStrapServer.java file on the server machine and then run Peer.java on the client machines

About

Implemented the Content Addressable System (CAN) protocol using Java RMI. Incorporated features like peer join and leave, insert and search for keyword in a decentralized distributed hash table p2p environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%