An open API service indexing awesome lists of open source software.

https://github.com/redpill-linpro/kanari

Small S3, DB and HTTP benchmark/status application for the Cloud
https://github.com/redpill-linpro/kanari

cloud flask mariadb mysql postgresql python s3

Last synced: 3 months ago
JSON representation

Small S3, DB and HTTP benchmark/status application for the Cloud

Awesome Lists containing this project

README

          

Kanari

# Kanari

MariaDB/MySQL, PostgreSQL, S3 and HTTP benchmark/status application for the Cloud, that uses Python and Flask.

All services have 3 seconds to respond. If any of them time out, `504 Gateway Timeout` is returned.

### Screenshot

Of the previous version, before PostgreSQL support was added:

![Screenshot](img/2025-03-26-screenshot.png)

### Environment variables

#### Database (MariaDB/MySQL)

- `DB_HOST` – Hostname of the MySQL/MariaDB server
- `DB_PORT` – Port (default: 3306)
- `DB_NAME` – Database name
- `DB_USER` – Username
- `DB_PASSWORD` – Password
- `DB_TABLE` – Database table (optional, defaults to the database name)

#### PostgreSQL

- `PG_HOST` – Hostname of the PostgreSQL server
- `PG_PORT` – Port (default: 5432)
- `PG_DATABASE` – Database name
- `PG_USER` – Username
- `PG_PASSWORD` – Password
- `PG_TABLE` – Database table (optional, defaults to the database name)

#### S3

- `S3_ENDPOINT` – Custom S3 endpoint URL
- `S3_ACCESS_KEY` – S3 access key
- `S3_SECRET_KEY` – S3 secret key
- `S3_BUCKET` – S3 bucket to use

#### HTTP / App

- `HOST` – Host to bind the Flask server (default: `0.0.0.0`)
- `PORT` – Port to bind the Flask server (default: `5000`)

### General info

* Version: 1.3.6
* License: BSD-3