Manatee 是一个基于ZooKeeper的系统能够管理Postgres的备份和自动故障转移,Manatee和Moray共同提供高可用的键值服务。 客户端代码: var manatee = require('node-manatee'); var client = manatee.createClient({ "path": "/manatee/1", "zk": { "connectTimeout": 2000, "servers": [{ "host": "172.27.10.97", "port":