Giter Site home page Giter Site logo

bancolombia / performance-benchmark-stacks Goto Github PK

View Code? Open in Web Editor NEW
11.0 13.0 4.0 592 KB

Repositorio para el diseño y construcción de pruebas de rendimiento sobre diferentes staks

License: MIT License

Dockerfile 3.54% JavaScript 13.75% Shell 6.07% TypeScript 34.83% Elixir 16.63% Java 17.54% HTML 2.01% SCSS 0.25% Makefile 0.06% Go 2.40% Rust 2.92%

performance-benchmark-stacks's Introduction

Contributors Forks Stargazers Issues MIT License

About The Project

The project objective is to allow executing repeatable performance tests in different technical stacks. This project is mainly designed to be executed on an AWS account, however the stacks scenarios are developed and designed to run in Docker.

Stack Health Check Hash SHA 256 Cipher Bcrypt SieveOfEratosthenes
Elixir (Plug Cowboy)
Go (Gin)
Java (Spring Boot MVC)
Java (Spring Boot Webflux)
NodeJs (Express)
NodeJs (Fastify)
NodeJs (NestJs)
NodeJs (NestJs & Rxjs)
NodeJs (NestJs & Fastify Adapter & Rxjs)
Rust (Actix)

Results

See current results at our Github Page

Getting Started

Prerequisites

To run this project you need:

  • aws-cli and an AWS account
  • nodejs for reports
  • terminal or emulator with ssh for remote connections
  • jq is a lightweight and flexible command-line JSON processor.Download here.

Installation

  1. Clone the repo
    git clone https://github.com/bancolombia/performance-benchmark-stacks
    cd performance-benchmark-stacks
  2. Install NPM packages for reports
    npm run install
  3. Build your configuration in config.json
    cp .config.json config.json
    {
     "instance": "t2.micro", # AWS instance type
     "key": "reactive", # Instance private key name, if name is `reactive` the key file should be in root of this project with `reactive.pem` name.
     "securityGroup": "sg-00000000000000000", # Security group for your instances, should allow requests to the 8080 port
     "subnet": "subnet-00000000000000000",
     "amiUser": "ubuntu", # default user of the ami
     "ami": "ami-03d315ad33b9d49c4", # ami id, if you want to change it, you should change the docker installation file, located in the infra folder
     "benchRepo": "https://github.com/bancolombia/performance-benchmark-stacks.git",
     "perfImage": "bancolombia/distributed-performance-analyzer:0.2.1"
    }

Usage

In the start_all.sh script you can change the scenarios and stacks array what you want to run, this script will run the start.sh script with each stack and list of desired scenarios. The start.sh script will create two instances, first one will be the instance where the stack will be deployed, the second one will be the performance instance.

The performance tool is the distributed performance analyzer project, also available as docker image at dockerhub.

Then it will run every scenario on the stack and will download the results in the .tmp/results folder.

The results will be visualized as graphs.

Run performance tests:

./start_all.sh

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Any contributions you make are greatly appreciated.

Please see the contribution guide

License

Distributed under the MIT License. See LICENSE for more information.

performance-benchmark-stacks's People

Contributors

dependabot[bot] avatar dericop avatar dhfherna avatar ivanjj22 avatar jksalazar avatar juancgalvis avatar juanes1a avatar santitigaga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

performance-benchmark-stacks's Issues

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.