go get -u github.com/estebgonza/roquette
- Hive
- Postgres
Roquette need two files to stress a database.
{
"driver": "driverName",
"connection": {
"host": "localhost",
"port": 10000,
"user": "yourUser",
"pass": "yourPassword"
}
}
{
"name": "My plan",
"concurrent-level": 1,
"queries": [{
"sql": "SHOW TABLES",
"repeat": 5
},
{
"sql": "SELECT * FROM my_table LIMIT 10",
"repeat": 2
}
]
}
roquette run