Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.55 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.55 KB

gRPC Server Runtime Comparison

This project is designed to test the runtime differences between Go and .NET for gRPC servers. It aims to provide insights into the performance and efficiency of these two runtime environments.

Usage

To run the gRPC server locally, you can use the justfile included in this project. The justfile contains commands that simplify the process of starting the server. Here are the steps to run the servers:

  1. Start the OpenTelemetry collector and other metrics & tracing tools with just start-observe-services
  2. Start one of the gRPC servers by running the start command.
    1. For the connectRPC server use just run-connect-server (requires go to be installed)
    2. For the dotnet server use just run-dotnet-server (requires the .NET SDK to be installed)
  3. The server should now be running locally and ready to accept incoming gRPC requests.
  4. Start the load test using the following command (requires k6 to be installed):
    just test-localhost
    or by providing an optional rps target and total test time with:
    just test-localhost {rps} {time_s}
  5. You can stop the observation tools with just stop-observe-services

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please feel free to open an issue or submit a pull request.