Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 351 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 351 Bytes

A project to run a consistent hash-ring with multiple nodes

generate protobuf code:

protoc hashring.proto --go-grpc_out=./ --go_out=./

start some nodes:

go run cmd/server/server.go -port 7070
go run cmd/server/server.go -port 7071
go run cmd/server/server.go -port 7072

start a client:

go run cmd/client/client.go