Giter Club home page Giter Club logo

ip_p1_chordlt's Introduction

Problem Definition
-------------------
Implementation of a (lite) version of Chord Distributed hash table system.
We have developed a P2P system for downloading RFCs.
Every communication is done via messages that resemble HTTP-like message formats.
 
Team Members
-------------
1) Salil Kanitkar : [email protected]
2) Sagar Sane
3) Mayur Awagadhe
4) Sagar Natekar

Types of Messages
-------------------
Chord Peer <-> Peer Messages

1) RegisterNode
2) NodeIdentity
3) FixFingers
4) GetDb
5) GetKey
6) NodeList
7) GetRFC
8) ForwardGet
9) GetFinger
10) PutKey
11) RemoveNode
12) ExitNow

Chord Peer <-> Client Messages ->
1) PrintRFCDb
2) PeerDetails
3) FetchRFC
4) PeerExit

Message Types and formats -->
1) FetchRFC
GET FetchRFC <RFC_TITLE> <RFC_Value> Chord-LT/1.0
IP: <IP_Addr>
Port:<Port_num>

2) RegisterNode
GET RegisterNode Chord-LT/1.0
IP:<IP_Addr_P0>
Port:<Port_num_P0>

3) NodeIdentity
#This message format may change. Do we need to add some more fields
POST NodeIdentity Chord-LT/1.0
chord_id:<chord_id> 
successor_id:<chord_id of successor>
pred_id:<chord_id of predecessor>
successor_IP:<IP_Addr of successor>
successor_Port:<Port_num of successor>
pred_IP:<IP_Addr of predecessor>
pred_Port:<Port_num of predecessor>

4) GetKey
GET Getkey Chord-LT/1.0
IP:<IP_Addr>
Port:<Port_num>
Chord-Id:<chord_id>

5) NodeList
POST NodeList Chord-LT/1.0
IP: <IP_Addr>
Port:<Port_num>
count:<count of RFCs to be sent to this node>
<RFC1_key>:<RFC1_value>:<RFC1_title>
<RFC2_key>:<RFC2_value>:<RFC2_title>
.
.
.
.
.
<RFCn_key>:<RFCn_value>:<RFCn_title>

6) GetRFC
GET GetRFC Chord-LT/1.0
IP: <IP_Addr>
Port:<Port_num>
RFC-Value:<RFC_value>
Flag:0

7) PrintRFCDb
GET PrintRFCDb Chord-LT/1.0

8) ForwardGet
GET ForwardGet Chord-LT/1.0
IP: <IP_Addr>
Port:<Port_num>
RFC-Value:<RFC_value>


9) PeerDetails
GET PeerDetails Chord-LT/1.0
IP:<IP_Addr>
Port:<Port_num>

ip_p1_chordlt's People

Contributors

salilkanitkar avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.