Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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🚀
- Host: GitHub
- URL: https://github.com/estebgonza/roquette
- Owner: estebgonza
- Created: 2019-02-27T18:17:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:57:56.000Z (10 months ago)
- Last Synced: 2024-06-21T17:55:48.600Z (3 months ago)
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 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
```