This article is pure talk
Preface
Nowadays, software back-end development is generally biased towards microservice development, but who does not know Spring
about our Java programmer development ?
Spring
The community has a trend of unifying Java, quickly building a single unit SpringBoot
, distributed microservice solutions, SpringCloud
core Spring FrameWork
and various components, and so on.
One of the protagonists today is SpringCloud
that it is a distributed microservice solution. Distinguished Dubbo
, Dubbo
just a remote rpc call framework. The former is a complete set of solutions, including service registration , service invocation , load balancing , service gateway , service degradation and fusing , distributed configuration management , message bus and other technologies. In other words, it SpringCloud
becomes an ecology by itself.
text
So SpringCloud
it's so cool, why do you need alibaba
it?
The so-called saying " the emergence of new things must be due to market demand. " We developers or prospective developers have this demand. Because it has SpringCloud
entered the maintenance phase
First of all, because the SpringCloud
version iteration is very fast, after each realease is released, the next version will be released immediately, so a series of bugs may be accumulated, and problems of this kind and that kind of problem will surely occur with the accumulation of time.
Entering maintenance mode means that there will be no new component technologies. It's just patching up on the original basis and processing some merge and PR requests.
If the technology is not updated, someone must do it. It Dubbo
was SpringCloud
replaced a few years ago . The same script, unfortunately, both Alibaba and the Spring
community are giants. There are a lot of considerations for the battle between giants, so they thought of cooperation, SpringCloud
combined with alibaba, technically someone is responsible for updating new components, and they can continue to use the Spring
community’s technology. On the other hand, Alibaba can also promote a wave of Alibaba Cloud and various commercial software, which is a win-win situation. So was SpringCloud Alibaba
born.
Spring Cloud Alibaba
Like Spring Cloud, Spring Cloud Alibaba is also a set of microservice solutions, including the necessary components for developing distributed application microservices, so that developers can easily use these components to develop distributed application services through the Spring Cloud programming model.
Relying on Spring Cloud Alibaba, you only need to add some annotations and a small amount of configuration to connect Spring Cloud applications to Ali's microservice solutions, and quickly build a distributed application system through Ali's middleware.
As a new implementation under the Spring Cloud system, Spring Cloud Alibaba has more functions compared with official components or other third-party implementations such as Netflix, Consul, Zookeeper, etc.:
Spring Cloud Alibaba includes components
This picture is of the Spring Cloud Alibaba series of components, which includes Alibaba open source components, Alibaba Cloud commercial components, and integrated Spring Cloud components.
Although Spring Cloud Alibaba was born not long ago, it is backed by big trees to enjoy the coolness. Relying on Alibaba's strong technical influence, it has become one of the important choices for microservice solutions.
I think Spring Cloud Alibaba has the following advantages:
Alibaba's strong technical output capabilities
Alibaba is undoubtedly one of the most influential companies in the field of open source technology in China. It already has successful open source components such as Dubbo, Druid, and FastJson. Coupled with Alibaba's spare no effort to promote it, the community is developing very fast.
Integrated Dubbo
Taking advantage of Dubbo’s high popularity in the microservices field. Dubbo is one of the most widely used distributed service frameworks in China. Many companies such as Dubbox based on Dubbo’s transformation are also in use.
Spring Cloud Alibaba has done a relatively good integration of Dubbo, which can attract many developers who use Dubbo.
Cloud Native Trend
Integrating Alibaba Cloud’s commercial components Cloud Native is a particularly popular term in the technical field this year. Cloud Native is a method specifically designed for applications on the cloud to build and deploy applications to give full play to the power of cloud computing. Advantage.
Spring Cloud Alibaba integrates Alibaba Cloud's commercial components, which can be said to naturally support cloud native features.
As for what it can do, you can go to its GitHub official document to check:
Its official documentation .