First, load balancing system
1, hardware: F5, A10, Radware
2, Software: LVS 4 layer, the Nginx layer 7, HAProxy 4 layer or layers 7
Second, the load balancing algorithm
1, random
2, polling
3, the weighting
4, consistency hash: the same request parameters are always requests for the same service provider
Third, Case: Service Discovery
1, auto-discovery: zk, etck, consul
2, automatic fault removal: Service fuse mechanism Hystrix
3, automatic retry request
4, auto-discovery service recovery