Why do we need SpringCloud

Everyone is using it, but I also use it?

The general idea is: the project is too large, the service needs to be dismantled, and the services need to call and coordinate with each other, so SpringCloud is used.

However, this writing function Soap / Dubbo can be used, and the use of SpringCloud is more troublesome. . . So the real reason is:

  • Ecology, spring big brother, everything, registration center, gateway, circuit breaker, downgrade, etc. family bucket

  • Heterogeneous, through http, you can adjust platforms in different languages, such as Alipay, WeChat, etc.

  • Pluggable --- http is stateless, the efficiency is lower than dubbo long connection, A service calls B service is not a strong dependency, you can adjust this B, you can also adjust another B, the availability is UP

  • Solve the problem of unreliable network, such as Eureka self-protection

Guess you like

Origin blog.csdn.net/qq_38238041/article/details/106773360