Golang微服务
Go · 7 notes
- consulhistorical
1. What it is A component for service registration and discovery 2. Building a local cluster 2.1. Download 2.2. Configuration files 2.2.1. Create directories 2.2.2. Configuration files server1 server2 server3 2.3. Start 2.4. Test Add service configuration Add service web UI 3. References
- etcdhistorical
1. Installation Download Releases · etcd-io/etcd Extract and configure environment variables 2. web UI Releases · evildecay/etcdkeeper 3. References etcd | Home
- hystrixhistorical
1. circuit A Go implementation of Hystrix for circuit breaking 2. Usage hystrix.go main.go 3. References
- microhistorical
1. Install Micro 1.1. Option 1 Download Releases · micro/micro Extract and configure environment variables 1.2. Option 2 Prerequisite: configure GOBIN Download source Install into GOBIN 2. References
- protobufhistorical
1. What it is An efficient serialization and deserialization format 1.1. Ordinary serialization 1.2. protobuf serialization 1.3. Comparison 2. Installation 3. Usage 4. References
- retryhistorical
1. What it is A failed remote-service call may succeed when attempted again 2. When retries are needed Network errors can be retried; logic errors do not need retries Long-lasting network failures should not be retried indefinitely Non-idempotent requests cannot be retried 3. Retry strategy 4. Go retry 5. References