—-> http:6071 graph /headth 测试接口
transfer —-> cluster:rpc:6070 graph 转发给graph
graph —->3306 mysql 连接数据库
graph —->cluster:6070:graph 连接其他的graph
{
“debug”: false,
“http”: {
“enabled”: true,
“listen”: “0.0.0.0:6071”
},
“rpc”: {
“enabled”: true,
“listen”: “0.0.0.0:6070”
},
“rrd”: {
“storage”: “./data/6070”
},
“db”: {
“dsn”: “root:@tcp(127.0.0.1:3306)/graph?loc=Local&parseTime=true”,
“maxIdle”: 4
},
“callTimeout”: 5000,
“migrate”: {
“enabled”: false,
“concurrency”: 2,
“replicas”: 500,
“cluster”: {
“graph-00” : “127.0.0.1:6070”
}
}
}