Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Why do you need to use micro services

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail why you need to use micro-services, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.

Why use microservices? Technology is born for business, architecture also appears for business, of course, SOA and micro-services also appear because of the development of business. The emergence of SOA and micro-service framework is closely related to the development of business and the growth of the platform. The following is to borrow the website architecture development diagram and description of dubbo:

Single application architecture when website traffic is very small, only one application is needed to deploy all functions together to reduce deployment nodes and costs. At this point, the data access framework (ORM), which is used to simplify the workload of additions, deletions and modifications, is the key. Vertical application architecture when the number of visits increases gradually, the acceleration caused by a single application increasing machine is getting smaller and smaller, and the application is divided into several unrelated applications to improve efficiency. At this point, the Web framework (MVC) used to accelerate front-end page development is the key. Distributed service architecture when there are more and more vertical applications, the interaction between applications is inevitable, extract the core business, as an independent service, gradually form a stable service center, so that the front-end applications can respond to the changing market demand more quickly. At this point, the distributed service framework (RPC) for improving business reuse and integration is the key. In mobile computing architecture, when there are more and more services, capacity evaluation, waste of small service resources and other problems gradually appear, it is necessary to add a scheduling center to manage cluster capacity in real time based on access pressure to improve cluster utilization. At this point, the resource scheduling and governance center (SOA) used to improve machine utilization is the key. As the business evolves, the platform can meet the business needs from the All in One environment (in the case of Java, it may be just one or two war packages).

When it comes to the need to split multiple applications and use MVC to separate the front and rear ends to speed up development efficiency; when there are more and more services, some core or shared services have to be split out. In fact, at this stage, if the service is split fine enough and runs independently, I think it can be understood as a micro service.

On why you need to use micro-services to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report