Etcd 基本介绍 3.1 限制 Etcd 性能的因素 Cluster NodeData SizevCPUsMemory (GB)Max concurrent IOPSDisk bandwidth (MB/s) 50 no more than 100 MB 2 8 3600 56.25 250 no more than 500 MB 4 16 6000 93.75 1000 no more
面向接口编程 1.1 特征 模块解耦 1 2 3 4 5 6 7 type Dog struct { times int } func (d Dog) Call() { d.times = d.times + 1 // not work } 指针类型的 Receiver 1 2 3 4 5 6 7 type Dog struct { times int } func (d *Dog) Cal