File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
# .NET Core vs Golang performance
2
2
3
- Test http client, object serialize and deserialize and file descriptor leaks.
4
-
3
+ This repository holds code to test http api performance between .NET Core and Golang HTTP.
5
4
Each service has ` /test ` endpoint which calls another api using http client and returns that api response as JSON.
6
5
7
6
## Start containers
8
7
9
8
` docker-compose up --build `
10
9
11
10
docker-compose should start 3 containers
12
- 1 ) go lang api with GET ` /data ` endpoint
13
- 2 ) go lang api with GET ` /test ` endpoint which calls 1 endpoint
14
- 3 ) .net core api with GET ` /test ` endpoint which calls 1 endpoint
11
+ 1 ) Golang api with GET ` http://localhost:5002 /data` endpoint
12
+ 2 ) Golang api with GET ` http://localhost:5001 /test` endpoint which calls 1 endpoint
13
+ 3 ) .NET Core api with GET ` http://localhost:5000 /test` endpoint which calls 1 endpoint
15
14
16
15
## Run load tests
17
16
You can’t perform that action at this time.
0 commit comments