Design of High Availability Service Discovery for Microservices Architecture
Weilun Tang, Li Wang, Guangtao Xue · 2019
Service discovery is one of the basic components of the microservices architecture, and its high availability becomes an important factor affecting the stability of the entire microservices architecture. Aiming at the problem of poor fault tolerance for traditional single-node deployment, this paper proposes a distributed service discovery mechanism, which improves the Raft algorithm according to the characteristics of the data, ensures the strong consistency of data between cluster nodes, and improves the availability of service discovery. The experimental results show that the improved algorithm can meet the strong consistency requirement of the data in this scenario, and can restore data consistency at a faster speed after an error.