protoc hashring.proto --go-grpc_out=./ --go_out=./
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
protoc hashring.proto --go-grpc_out=./ --go_out=./
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