In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the relevant knowledge of "what is the concept of microservice in cloud computing". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Micro-service architecture is an architectural model, which advocates dividing a single application into a group of small services, which coordinate and cooperate with each other to provide users with the ultimate value. Each service runs in its own independent process, and the service and the service use a lightweight communication mechanism to communicate with each other.
Each service is built around a specific business and can be independently deployed to a production environment, class production environment, and so on. In addition, a unified and centralized service management mechanism should be avoided as far as possible. for a specific service, the appropriate language and tools should be chosen according to the business context.
Micro-service is a simplified version of SOA, and is a specific implementation technology, using containers to package services, it can be said that without container technology, micro-services can not be developed. As we all know, traditional monolithic applications become larger and larger as their functions expand, and eventually code changes, version upgrades, or redeployments can become extremely difficult, or even impossible.
The emergence of micro-services is used to solve this problem-to cut a large single application horizontally into several micro-services, each of which does only one thing, but it still contains presentation layer, application layer and data layer. The microservice runs separately and exposes the API interface for other programs to call. Therefore, microservices focus on replacing large single applications within the enterprise to facilitate the sustainable evolution of applications (continuous code improvement, continuous version upgrades, continuous scaling deployment, DevOps).
Because each micro-service has its own data layer, it is difficult to invoke this micro-service with state across applications. Because each micro-service does only one thing, the complexity is greatly reduced; in addition, micro-services can be developed and deployed separately; moreover, micro-services can be scaled and expanded separately, which are all advantages.
However, micro-services also have some shortcomings: the invocation relationship between micro-services is more complex, the data consistency guarantee is more complex, and the overall micro-service deployment is more complex. A typical micro-service-based application deployment includes several micro-service instances, API gateways, micro-service registries and several load balancers.
This is the end of the content of "what is the concept of microservices in cloud computing". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.