Share- Detailed Eureka caching mechanism

Original link
Detailed Eureka caching mechanism

Finishing and thinking

introduction

AP characteristics

service status

Eureka Server

Caching mechanism

  • Three-level cache
  • Cache configuration
  • The key class

Eureka Client

  • Secondary cache
  • Cache configuration
  • The key class

Under the default settings of consumer perception longest time

Responses

Eureka Server

  • Shorten the update cycle readOnlyCacheMap
  • Close readOnlyCacheMap

Eureka Client

  • Service consumers use fault tolerance
  • Consumer Services shorten the update cycle
  • Service providers to ensure normal service offline
  • Service Provider delayed offline

Gateway service offline to achieve real-time perception

Guess you like

Origin blog.csdn.net/weixin_34138521/article/details/90973834