Dubbo (five) high availability

High availability

zookeeper is down

Zookeeper registration center is down, and services exposed by dubbo can also be consumed

  • The downtime of the monitoring center will not affect the use, but some sampling data will be lost
  • After the database goes down, the registry can still provide service list queries through the cache, but cannot register new services
  • Registration center peer-to-peer cluster, after any one goes down, it will automatically switch to another
  • After the registry is completely down, service providers and service consumers can still communicate through the local cache
  • The service provider is stateless, after any one is down, it will not affect the use
  • After the service providers are all down, the service consumer applications will be unavailable and will be reconnected indefinitely for the service provider to recover

test

  • Request normally
  • Close zookeeper: ./zkServer.sh stop
  • Consumers can still consume normally

Guess you like

Origin blog.csdn.net/weixin_49741990/article/details/112710702
Recommended