climax
v0.1.6
Published
Pooler for multiple resources
Readme
climax
Installing
npm install climax
Configuration
Configuration must be like the example below. There are some configuration elements for basic connection these are;
- type
- user
- password
- port
- host
- database
- max
- log
- querylist
{
"serverlist": {
"mysqlserver": {
"type": "mysql",
"user": "root",
"password": "",
"port": 3306,
"host": "127.0.0.1",
"database": "climax",
"max": 10,
"log": true,
"querylist": {
"select * from testing": 20000,
"select * from vertexclique": 30000
}
},
"mongodbserver": {
"type": "mongodb",
"port": 27017,
"host": "172.10.1.32",
"log": false,
"querylist": {
"select * from vertexclique": 50000
}
}
}
}