___.
____ _____ ____ _____ \_ |______________ ___ _______
_/ ___\\__ \ / \\__ \ | __ \_ __ \__ \\ \/ /\__ \
\ \___ / __ \| | \/ __ \| \_\ \ | \// __ \\ / / __ \_
\___ >____ /___| (____ /___ /__| (____ /\_/ (____ /
\/ \/ \/ \/ \/ \/ \/
Uma versão Bash da rinha do backend 2ª edição 2024/Q1
- 2 Bash apps
- 1 PostgreSQL
- 1 NGINX
$ make help
Usage: make <target>
help Prints available commands
start.dev Start the rinha in Dev
start.prod Start the rinha in Prod
docker.stats Show docker stats
health.check Check the stack is healthy
stress.it Run stress tests
docker.build Build the docker image
docker.push Push the docker image
$ docker compose up -d nginx
# Ou então utilizando Make...
$ make start.dev
Testando a app:
$ curl -v http://localhost:9999/clientes/1/extrato
# Ou então utilizando Make...
$ make health.check
Colocando Gatling no barulho:
$ make stress.it
$ open stress-test/user-files/results/**/index.html