Home >Java >JavaInterview questions >SpringCloud interview key points

SpringCloud interview key points

Guanhui
GuanhuiOriginal
2020-06-03 17:31:054071browse

SpringCloud interview key points

SpringCloud interview points

1. Advantages of SpringCloud;

2.The significance of load balancing;

3. What is Hystrix;

4. What is Hystrix circuit breaker;

5. Advantages of Netflix Feign;

6. What is service registration and discovery;

7. The function of circuit breaker.

SpringCloud

Spring Cloud is an ordered collection of a series of frameworks. It uses the development convenience of Spring Boot to cleverly simplify the development of distributed system infrastructure, such as service discovery registration, configuration center, message bus, load balancing, circuit breakers, data monitoring, etc., all of which can be done using the Spring Boot development style. to one-click startup and deployment. Spring Cloud does not reinvent the wheel. It just combines the more mature and practical service frameworks developed by various companies, and re-encapsulates them through Spring Boot style to shield the complex configuration and implementation principles, and finally provides developers with The author has created a set of distributed system development toolkits that are easy to understand, easy to deploy and easy to maintain.

Spring Cloud consists of

The sub-projects of Spring Cloud can be roughly divided into two categories. One is the development of existing mature frameworks. "Spring Boot-based" encapsulation and abstraction is also the largest number of projects; the second category is the implementation of infrastructure that develops part of the distributed system, such as Spring Cloud Stream playing roles such as kafka and ActiveMQ. For our developers who want to quickly practice microservices, the first type of sub-project is enough, such as:

Spring Cloud Netflix

is a set of distributed services developed for Netflix The encapsulation of the framework includes service discovery and registration, load balancing, circuit breakers, REST clients, request routing, etc.

Spring Cloud Config

Save configuration information centrally, and configure Spring Cloud Bus to dynamically modify configuration files

Spring Cloud Bus

Distributed messages Queue is an encapsulation of Kafka and MQ

Spring Cloud Security

It is an encapsulation of Spring Security and can be used with Netflix

Spring Cloud Zookeeper

Encapsulate Zookeeper so that it can configure other Spring Cloud sub-projects to use

Spring Cloud Eureka

Spring Cloud Eureka is part of the Spring Cloud Netflix microservice suite, which is based on Netflix Eureka It has secondary encapsulation and is mainly responsible for completing the service governance function in the microservice architecture.

Recommended tutorial: "Java Tutorial"

The above is the detailed content of SpringCloud interview key points. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn