Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sudorandom/go-grpc-bench
https://github.com/sudorandom/go-grpc-bench
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sudorandom/go-grpc-bench
- Owner: sudorandom
- Created: 2024-04-26T20:05:14.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-12T11:37:34.000Z (8 months ago)
- Last Synced: 2024-06-19T15:05:56.023Z (6 months ago)
- Language: Go
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## go-grpc-bench
This is a repo I created to host some benchmarks I was running with grpc-go, grpc-go (using ServeHTTP) and go-connect. I made this repo to make it easier for me to add profiling and tweak more server settings when testing.## Terminology
- **Profiles**: a combination of the gRPC server and server settings. For this project, it's a small shell script that starts the server.
- **Scenarios**: the settings used to run the benchmark. For this project, it's a JSON file with the relevant [ghz](https://ghz.sh/) configuration.
- **Results**: For this project, they live in `results/{YYYY-MM-DD}/{SCENARIO}/{PROFILE}.json`.## Running the project
Ensure that you have [ghz](https://ghz.sh/) installed, and just run make to run all the scenarios:```
make
```To run a specific scenario, just use the name like these commands (there are only two scenarios right now):
```
make empty
make complex
```