Common SpringClound interview questions

Common SpringClound interview questions

1. What are the problems with the monolithic application?

  Answer: 1). The code structure is confusing

              2). The development efficiency is reduced, the codes developed by multiple people are merged, and the logic of one part is modified, which may affect all functions.

              3). Troubleshooting and troubleshooting are costly. The monolithic system is deployed in one process, and we have modified a small function. In order to deploy it online, it may affect the operation of other functions.

              4). The expansion capability is limited. Some modules are computing-intensive and require a powerful CPU, while others are IO-intensive and require larger memory. When these modules are deployed together, hardware choices have to be made. For example, some microservices that specialize in uploading and downloading pictures are better than uploading and downloading single applications.

              5). It hinders technological innovation and has been using a single application. Many technologies are restricted and cannot be used freely. For example, if you used struts2 before, you cannot switch to springmvc.

 

2. What components does Spring Cloud have.

Answer: Generally answer five major components: 1. Service discovery Netflix Eureka; 2. Customer service load balancing Netflix Ribbon; 3. Circuit breaker Netflix Hystrix; 4. Service gateway Netflix Zuul; 5. Distributed configuration.

  1. Spring Cloud config: Configuration management tool.
  2. Spring Cloud netflix:

    Eureka&

おすすめ

転載: blog.csdn.net/yetaodiao/article/details/132537072