Skip to content
AnandRamakaPublic

About

Implemented a distributed hash table using gRPC and Protobuf, allowing for the addition and removal of servers. Utilized the chord algorithm to distribute keys across servers.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

Implementation of the CHORD Protocal, which defines a peer-to-peer key value store.

Setup

Linux

GOROOT=/usr/lib/go

GOPATH=/usr//go

Mac

export GOROOT=/usr/local/go

export GOPATH=/Users//go

Common

all GO code should go under GOPATH/src

clone repo

_go mod init bookshop/server

protoc --proto_path=proto proto/*.proto --go_out=. --go-grpc_out=._

^ This protoc command generates programs that implement functionality defined in the proto files

from server folder run:

go install bookshop/server

the server is ready to start

The python script launches multiple processes of the server and cleans all processes

About

Implemented a distributed hash table using gRPC and Protobuf, allowing for the addition and removal of servers. Utilized the chord algorithm to distribute keys across servers.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages