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
- Host: GitHub
- URL: https://github.com/redpill-linpro/kanari
- Owner: Redpill-Linpro
- License: bsd-3-clause
- Created: 2025-05-15T08:03:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-09T14:41:59.000Z (7 months ago)
- Last Synced: 2025-12-26T19:40:06.245Z (6 months ago)
- Topics: cloud, flask, mariadb, mysql, postgresql, python, s3
- Language: Python
- Homepage:
- Size: 1.3 MB
- Stars: 6
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# 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:

### 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