Go to file
Urko dcab3994b2 feat: rename 2023-04-24 12:03:15 +02:00
benchmark feat: remove hardcoded values 2023-04-24 11:55:33 +02:00
benchmark_report feat: update report 2023-04-11 09:00:49 +02:00
cmd feat: rename 2023-04-24 12:03:15 +02:00
config feat: rename 2023-04-24 12:03:15 +02:00
internal feat: rename 2023-04-24 12:03:15 +02:00
pkg feat: improve benchmark 2023-04-05 19:04:52 +02:00
.gitignore refactor: improve benchmark to do both at same time 2023-04-05 14:00:39 +02:00
Dockerfile feat: add Dockerfile 2023-04-03 19:29:11 +02:00
Makefile feat: add readme 2023-04-10 19:49:43 +02:00
README.md fix report link 2023-04-10 20:22:58 +02:00
docker-compose.yaml feat: initial commit 2023-03-31 11:49:03 +02:00
go.mod refactor etl go: load from byte slice instead of interface 2023-04-10 11:43:13 +02:00
go.sum refactor etl go: load from byte slice instead of interface 2023-04-10 11:43:13 +02:00

README.md

Requirements

To run docker-compose --env-file ./.env up to init your container

To have make installed.

If you don't want to install make you can go to Makefile therefore copy the command then paste and execute in your terminal window.

Report

You can watch my report to see benchmark results

Tests

ETL

To see results you only have to run

make run_etl

http server

To see results you only have to run

make run_etl

Benchmark

http comparision

Start your go http server

go run cmd/server/main.go

Start your nest server

cd ~/nest-project-path
npm start

Then run benchmark

make benchmark_server

other tests

To test different tests done on http server response you can do this way:

First start your http server

make run_server

Then play running different tests:

IMPORTANT Please do mantain your machine without extra running processes

make benchmark_go_1000req_15s

then try

make benchmark_go_1000req

Now try nest server, remember to first startup your nest

make benchmark_nest_1000req_15s
make benchmark_nest_1000req