Giter VIP home page Giter VIP logo

canabrava's Introduction

canabrava

                           ___.                              
  ____ _____    ____ _____ \_ |______________ ___  _______   
_/ ___\\__  \  /    \\__  \ | __ \_  __ \__  \\  \/ /\__  \  
\  \___ / __ \|   |  \/ __ \| \_\ \  | \// __ \\   /  / __ \_
 \___  >____  /___|  (____  /___  /__|  (____  /\_/  (____  /
     \/     \/     \/     \/    \/           \/           \/ 

Uma versão Bash da rinha do backend 2ª edição 2024/Q1

Requisitos

Stack

  • 2 Bash apps
  • 1 PostgreSQL
  • 1 NGINX

Usage

$ 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

Inicializando a aplicação

$ 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

Unleash the madness

Colocando Gatling no barulho:

$ make stress.it 
$ open stress-test/user-files/results/**/index.html

ASCII art generator

canabrava's People

Contributors

fabriciocybershell avatar leandronsp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.