Skip to content

landmarkhw/profile-microservice-frameworks

Repository files navigation

Profiling Comparison, C# vs Golang

Getting Started

  1. Ensure you have Docker installed.
  2. Open a command prompt and run docker-compose up. This will:

Running the profiling tests

  1. Ensure you have Go installed.
  2. Install Bombardier - go get -u github.com/codesenberg/bombardier
  3. The following Bombardier commands give interesting results:


bombardier -c 100 -n 100000 -l http://localhost:5000/person/1 - Get a Person from the db
bombardier -c 10 -n 10000 -l http://localhost:5000/person/1 - Get a Person from the db
bombardier -c 1000 -n 100000 -l http://localhost:5000/test/json/simple - Get a simple JSON object
bombardier -c 1000 -n 100000 -l http://localhost:5000/test/json/complex - Get a complex JSON object
bombardier -c 100 -n 10000 -l --method=PUT --body-file=./test-person.json --header="Content-Type: application/json" http://localhost:5000/person - Save a person to the db


Testing http://localhost:5000 will test against the go application.
Testing http://localhost:5001 will test against the C# application.

About

A comparison of Go vs C# in the microservices space.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published