grpc-performance-test

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2024 License: GPL-3.0

README

A gRPC performance test project

Description

Requirments

# OS X

brew install go
brew install grpc
brew install protoc-gen-go
brew install protoc-gen-go-grpc

Build/Run

# Generate the Go code from the .proto file:
protoc --go_out=. --go-grpc_out=. proto/service.proto

# Download dependencies
go mod tidy
go mod download
# Run server
go run cmd/server/main.go
# run client in another terminal to start 500 clients
./run_clients.sh

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL