Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/estebgonza/roquette

Database stresser in Go supporting Hive & Postgres🚀
https://github.com/estebgonza/roquette

Last synced: about 17 hours ago
JSON representation

Database stresser in Go supporting Hive & Postgres🚀

Awesome Lists containing this project

README

        


roquette


Simple CLI to stress your database.



Roquette SQL Stresser Report


Roquette SQL Stresser Coverage

### Installation
```bash
go get -u github.com/estebgonza/roquette
```

### Supported Databases
- Hive
- Postgres

### Usage
Roquette need two files to stress a database.
#### database.json
```json
{
"driver": "driverName",
"connection": {
"host": "localhost",
"port": 10000,
"user": "yourUser",
"pass": "yourPassword"
}
}
```
#### plan.json
```json
{
"name": "My plan",
"concurrent-level": 1,
"queries": [{
"sql": "SHOW TABLES",
"repeat": 5
},
{
"sql": "SELECT * FROM my_table LIMIT 10",
"repeat": 2
}
]
}
```

### Run your plan!
```bash
roquette run
```