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

What does distributed system mean?

2025-02-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

What does distributed system mean? I believe many inexperienced people are at a loss about it. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Distributed system background

It is said that the distributed system must say that the centralized system, the whole project in the centralized system is an independent application, the whole application is the whole project, and everything is in one application.

As shown in the following figure

For example, a website is an application, and finally, multiple servers or containers are added to achieve the purpose of load balancing to avoid a single point of failure. Of course, databases can be deployed separately.

The obvious advantage of centralization is that it is convenient to develop, test, operate and maintain, without considering the complex distributed environment.

The obvious disadvantage of centralization is that it is not easy to expand, and all applications must be updated with each update. Moreover, a problem means that all applications have problems. As the system becomes larger and larger, centralization will be the biggest bottleneck of the system.

What is a distributed system?

A distributed system is a collection of independent computers that are like a single related system to the user.

The above definition is extracted from a book.

In other words, the distributed system is made up of a series of computers, but the user is not aware of the logic behind it, just like accessing a single computer.

It's a bit of a twist, let's take a brief look at the distributed system diagram.

Advantages and disadvantages of distributed system

In a distributed system:

1. Applications can be divided into multiple applications according to business type, and then divided into interface layer and service layer according to structure. We can also define different interface applications by access entry, such as mobile, PC, etc.

2. The database can be split into multiple instances according to the business type, and a single table can be divided into different databases and tables.

3. Add middleware such as distributed cache, search, file, message queue, non-relational database, etc.

Obviously, the distributed system can solve the malpractice of centralized inconvenient expansion, and we can easily expand the application in any link, even if there is a problem in one application, it will not affect other applications.

With the popularity of micro-service Spring Cloud & Docker and the rebirth of domestic open source distributed Dubbo framework, distributed technology is developing rapidly.

Although the distributed system is good, it also brings the complexity of the system, such as distributed transaction, distributed lock, distributed session, data consistency and so on. Although there are many mature schemes, they are not perfect. Distributed system also increases the cost of development, testing, operation and maintenance, and the workload increases, so poor management of distributed system will become a burden.

After reading the above, have you mastered the method of what distributed system means? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

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

Internet Technology

Wechat

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

12
Report