SpringCloud introduction (a)

Spring Cloud is a complete micro-service solutions, based on Spring Boot framework, to be exact, it is not a framework, but a large container, it will be better micro-market service framework integrated in, which simplifies the development the amount of code's.

First, what is SpringCloud

  Spring Cloud is an ordered collection of a series of frames, which uses facilitate the development of Spring Boot simplifies the development of distributed systems, such as service discovery, service gateway, service routing, link tracking and so on. Spring Cloud create the wheel will not be repeated, but will be available on the market to develop better integrated into the module, encapsulation, thereby reducing the development cost of each module. In other words: Spring Cloud provides building distributed systems needed to "family bucket."

Two, SpringCloud status

At present, the domestic use Spring Cloud technology companies are rare, not because Spring Cloud is not good, mainly due to the following points:

  • Fewer Spring Cloud Chinese documents, without too many problems appear online solutions.
  • Most of the domestic entrepreneurial companies is a technology leader Ali employees, Ali Dubbo to build a multi-use micro-services architecture.
  • Large companies have their own basic distributed solutions, and many small and medium sized companies do not have access micro-service architecture, so there is no necessity Spring Cloud adoption.

However, micro-services architecture is a trend, and Spring Cloud is a leader in micro-services solutions.

Three, SpringCloud advantages and disadvantages

1. Advantages

  • Synthesizer, Spring Cloud includes all aspects of micro-services architecture.
  • Convention over configuration, based on the comments, no configuration file.
  • Lightweight components, Spring Cloud integration of components is mostly lightweight, and are experts in their field.
  • Development of simple, Spring Cloud a large number of various components of the package, thus simplifying development.
  • The development of flexible, Spring Cloud components are decoupled, developers have the flexibility to select the components needed.

2. shortcomings

  • Complex project structure, each component or each service need to create a project.
  • High threshold deployment, the deployment of the project need to meet Docker containers such as technology cluster deployment, but in order to understand Docker, high learning costs.

Four, SpringCloud important components

 

Guess you like

Origin www.cnblogs.com/myitnews/p/11546133.html