Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EchoKV

EchoKV is an in-memory distributed key-value store.

Quick Startup

  1. To run the service locally if Go is installed you can run the command
    go run ./server/main.go
    • This will spin up the http and gRPC service respectively.

Dependencies

  • Buf - Used tool for go code generations for protobufs relating to .proto files for gRPC calls.
  • grpcui - Tool used to visualize and test local grpc calls via an interactive web UI.

Testing gRPC

To directly test against gRPC API call's we can use a tool called grpcui.

  1. Use grpcui to interact with any internal or public gRPC calls:
    • This will require generating the protoset which can be done via buf
    buf build --path ./proto-public -o api.bin --as-file-descriptor-set
  2. We can now use the generated protoset file called api.bin to send requests at our gRPC URL
    # Define your $GRPC_ADDR var
    grpcui -plaintext -protoset api.bin "$GPRC_ADDR"

About

Distributed In-Memory KV Store

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages