/technical_interview

task for technical interview on performance testing

Primary LanguageGoApache License 2.0Apache-2.0

logo

Technical interview

A project created to test candidates for load testing positions.

GitHub GitHub release (latest SemVer)

Composition

Simple api services, postgresdb, prometheus + exporters, grafana, rabbitmq.

Work tested on operating systems

  • Mac Os Big Sur 11.2.2
  • Arch Linux.
  • Windows 10.

Before using, it is recommended to update the OS and Docker to the current versions.

How to use

Get and run

git clone https://github.com/matscus/technical_interview 
cd technical_interview/{TASK DIR}
docker-compose up --build -d

Stop and remove data

docker-compose down --rmi all -v

Alternatively you can use make commands

# Run unit test
make unittest

# Build binary
make engine

# Build docker image and run
make run

# Stop containers
make stop

# Stop containers, remove all image and volumes
make kill

# Remove binary file
make clean

The tasks