Golang微服务
Go · 7 notes
- consulhistorical
Consul provides service registration and discovery. These notes include server and client configuration and examples of registration from Go programs.
- etcdhistorical
These notes cover downloading and configuring etcd, followed by basic client usage through Go examples.
- hystrixhistorical
These notes record usage and implementation of a Go Hystrix library, starting with circuit breaking for failed calls and related fault handling.
- microhistorical
These notes record Micro installation and environment setup, followed by its use in Go microservice examples.
- protobufhistorical
Protobuf provides efficient data serialization and deserialization. These notes use message definitions and code examples to show its usage in Go.
- retryhistorical
A failed remote call may succeed on another attempt. These notes distinguish network from logical errors to examine when retries are appropriate.
- rpchistorical
Server and client code examples demonstrate Go RPC calls and how both sides organize interfaces and data.