Skip to content

Database stresser in Go supporting Hive & Postgres🚀

Notifications You must be signed in to change notification settings

estebgonza/roquette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roquette

Simple CLI to stress your database.

Roquette SQL Stresser Report Roquette SQL Stresser Coverage

Installation

go get -u github.com/estebgonza/roquette

Supported Databases

  • Hive
  • Postgres

Usage

Roquette need two files to stress a database.

database.json

{
    "driver": "driverName",
    "connection": {
        "host": "localhost",
        "port": 10000,
        "user": "yourUser",
        "pass": "yourPassword"
    }
}

plan.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!

roquette run

About

Database stresser in Go supporting Hive & Postgres🚀

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages