Spring Cloud Learning Summary 001-service Governance-eureka

Source: Internet
Author: User

Study reference: http://blog.didispace.com/Spring-Cloud%E5%9F%BA%E7%A1%80%E6%95%99%E7%A8%8B/

Spring Cloud consists of "Service Register center, service provider, service consumer";

The Service registry stores information about each service, storing a raw data in a "double-layered map",

The first city key is the service name, the second layer of key is the service instance name,

{

Service 1:{

Example 1: Instance 1

Example 2: Instance 2

}

Self-protection

Eureka server will count the rate of heartbeat failure to be less than 85% in 15 minutes during run time, and if it falls below, Eureka server will protect the current instance so that these instances do not expire and protect the registration information as much as possible;

Turn off self-protection and the registry will reject instances that are not available: "Eureka.service.enable-self-preservation=false"

Cond.......

Spring Cloud Learning Summary 001-service Governance-eureka

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.