Home  >  Article  >  What is distributed computing?

What is distributed computing?

Guanhui
GuanhuiOriginal
2020-06-18 15:50:427322browse

What is distributed computing?

What is distributed computing?

Distributed computing is a computing method, which is opposite to centralized computing. Distributed computing decomposes the application into many small parts and assigns them to multiple computers for processing, so that Save overall calculation time and greatly improve calculation efficiency.

Definition of Distributed Computing

Broad Definition

Study how to convert a system that requires huge computing power The problem to be solved is divided into many small parts, and then these parts are assigned to many computers for processing, and finally the calculation results are combined to obtain the final result.

Recent distributed computing projects have been used to use the idle computing power of thousands of volunteer computers around the world, through the Internet, to analyze electrical signals from outer space to search for hidden black holes. And explore the possible existence of extraterrestrial intelligent life; you can search for Mersenne prime numbers with more than 10 million digits; you can also search for and discover more effective drugs against HIV. These projects are very large and require an amazing amount of calculations. It is absolutely impossible for a single computer or individual to complete them within an acceptable time.

Definition of the Chinese Academy of Sciences

When two or more software share information with each other, these software can run on the same computer or on multiple computers connected through a network run. Distributed computing has the following advantages over other algorithms:

1. Rare resources can be shared.

2. Through distributed computing, the computing load can be balanced on multiple computers.

3. You can place the program on the computer that is most suitable for running it.

Among them, sharing rare resources and balancing loads is one of the core ideas of computer distributed computing.

Grid computing

Grid computing is a type of distributed computing. If a certain job is distributed, then it must not be just one computer, but a computer network. This "ant moving mountains" approach will have strong data processing capabilities.

The essence of grid computing is to combine and share resources and ensure system security.

Working Principle

Distributed computing is a type of computing science that uses the idle processing power of central processors of computers on the Internet to solve large-scale computing problems. Below, let's see how it works:

First, find a problem that requires a huge amount of computing power to solve. Such problems are generally interdisciplinary, extremely challenging, and scientific research topics that humans urgently need to solve. The more famous ones are:

Solving more complex mathematical problems, such as: GIMPS (finding the largest Mersenne prime number).

Research to find the most secure password system, such as: RC-72 (password cracking).

Biopathological research, such as: Folding@home (study of protein folding, misunderstanding, aggregation and related diseases caused by this).

Drug research for various diseases, such as: United Devices (finding effective drugs against cancer).

Signal processing, such as: SETI@Home (Searching for extraterrestrial civilization at home).

In the past, these problems were supposed to be solved by supercomputers. However, the cost of building and maintaining supercomputers is very expensive, which is not something an ordinary scientific research organization can afford. With the development of science, a cheap, efficient, and easy-to-maintain computing method emerged—distributed computing!

With the popularity of computers, personal computers have begun to enter thousands of households. Along with this comes the problem of computer utilization. More and more computers are sitting idle, and even when powered on, the potential of the central processing unit is far from being fully utilized. We can imagine that a home computer spends most of its time "waiting". Even when users are actually using their computers, the processor is still doing a lot of silent work (waiting for input but not actually doing anything). The emergence of the Internet has made it a reality to connect and call all these computer systems with limited computing resources.

Then, some problems that are very complex in themselves but are well suited to be divided into a large number of smaller computing pieces are proposed, and then a computing server is developed by a research institution through a lot of hard work. and client. The server is responsible for dividing the calculation problem into many small calculation parts, then assigning these parts to many computers participating in the network for parallel processing, and finally integrating these calculation results to obtain the final result.

Of course, this may seem primitive and difficult, but as the number of participants and computers involved in the calculation continues to increase, the calculation plan becomes very fast, and it has been proven to be feasible in practice. . At present, the processing capabilities of some larger distributed computing projects can reach or even exceed the fastest supercomputers in the world.

You can also choose to participate in certain projects to donate CPU core processing time. You will find that the CPU core processing time you provide will appear in the project's contribution statistics. You can compete with other participants to be ranked for your time contribution, or you can join an existing computing group or form your own. This approach is great for motivating participants.

As the number of private teams gradually increases, many large organizations (such as companies, schools and various websites) have also begun to form their own teams. At the same time, a large number of communities with the theme of distributed computing technology and project discussions have also been formed. Most of these communities translate and produce usage tutorials for distributed computing projects and publish relevant technical articles, and provide necessary technical support.

So who may join these projects? Of course, anyone can! If you have already joined a project and have ever considered joining the computing group, you will find it in the China Distributed Computing Center and Forum Find your home here. Anyone can join any distributed computing group formed by our site. I hope you find fun in the China Distributed Headquarters and Forum.

Participate in distributed computing - one of the most meaningful options to make full use of your personal computer - just download the relevant program, and then this program will be on the computer with the lowest priority operation, which has almost no impact on the normal use of the computer. If you want to use your free time on the computer to do something useful, why are you hesitating? Take action now, your insignificant contribution may make you leave a big mark in the history of the development of human science!

BOINC Distributed Computing Platform

BOINC is the abbreviation of Berkeley Open Infrastructure for Network Computing, which is the Berkeley Open Network Computing Platform.

BOINC is a distributed computing platform that can be shared by different distributed computing. Different distributed computing projects can directly use BOINC's public upload and download system, statistical system, etc., which not only brings into play the coordination between various distributed computing, but also makes the management and use of distributed computing more convenient and easier to use.

The BOINC project is sponsored by the University of California, Berkeley (U.C. Berkeley).

The BOINC project is sponsored by the National Science Foundation.

BOINC has its own points system, because the projects that can be run on BOINC vary widely. For example, the task package (Workunit, WU for short) of project A takes 3 hours to complete on a certain machine, while the project B’s The task package takes 30 hours to complete on this machine. Obviously it is not feasible to measure the workload by the number of WUs. Similarly, machine performance also varies, and it is even more impossible to measure the workload by CPU time. The integral system can only obtain the amount of calculation actually completed by the user through a certain algorithm. This article explains the integral calculation method in BOINC.

Distributed Computing in China

According to statistics from the China Internet Information Center (CNNIC), the number of Chinese netizens in the world has grown to about 12%, and is still growing rapidly. The Chinese netizens mentioned here include those from Mainland China, Hong Kong, Macau, Taiwan and overseas Chinese.

Compared with the rapid development of the Internet in China, China's distributed computing has developed slowly. In my opinion, statistics on the number of Internet users cannot very objectively reflect the level of informatization in a country, but the number or proportion of Internet users participating in distributed computing can clearly show the level of science popularization in this country. In this regard, there is no doubt that European and American countries are very leading. In the Nordic countries, almost half of all computers participate in distributed computing projects, which is a staggering number. Let's take a look at China and India. Although we have a lot of the latest technology and seem to be performing well in the process of network popularization, we are very weak in distributed computing. Let’s look at some examples:

SETI@home is the world’s largest distributed computing project. It is also the most famous project in China in terms of the number of participants there. It searches for signs of extraterrestrial life by using networked computers to download programs that analyze signals received by radio telescopes.

Although China has made progress in distributed computing and China's international ranking has risen from 29 to 24, our Chinese users still only complete one-tenth of the work completed by Japanese users, while Japan , this highly developed country has fewer Internet users than China. It seems that it is also very important to improve the quality of Internet users and increase the popularization of science. India and some Middle Eastern countries also have similar problems, and Central European countries are obviously doing better in this regard. The amount of data completed by many CIS countries has exceeded the total amount of the Russian Federation.

Folding@home is a distributed computing project that studies protein folding, misunderstanding, aggregation and related diseases caused by them. It uses networked computing and a large amount of distributed computing power to simulate the process of protein folding and guide us in a series of studies on diseases caused by folding.

The number of people participating in this project in China is constantly increasing. As of the end of March 2011, the number of users of the China 3213 team reached 3,025, with about 190 active users.

Participate in this project The Climateprediction project uses the latest climate prediction models to perform calculations on computers in homes, schools, and offices. The results of these calculations will form the world's largest weather prediction model. The climate is changing, and what we do about it is an important global topic. This will affect human agricultural production, water resources, ecosystems, energy needs, insurance costs and many other aspects closely related to humans. There is solid scientific evidence that the Earth is likely to get warmer over the next few centuries, but we have no way of estimating how much the change will be. If you participate, it will help inform climate science predictions for the 21st century.

China already has many computers, many of which have extremely advanced performance. And most of them just type and play slides. This cannot but be said to be a waste of resources.

Looking from another perspective, it is not difficult to find the gap between developed and developing countries. We call this phenomenon the digital divide. Another phenomenon is equally distressing. All distributed computing projects are initiated by developed countries, such as the United States, Germany, the United Kingdom, Japan, etc. This aspect also deepens the scientific gap. Professor Gorham Richard Chelman of the Department of Chemistry at Stanford University said that distributed computing will accelerate the scientific process of the entire human race. Scientists can accomplish computational tasks that they never thought of completing before, or that would have taken decades or centuries to complete. This is indeed true, but this calculation contributes to the scientific monopoly of developed countries to a certain extent.

Relevant Chinese departments have also begun to realize the importance of distributed computing, and some university professors and scientists have also begun to delve into distributed computing science, such as: CAS@HOME of the Chinese Academy of Sciences and the "Clear Water Project" of Tsinghua University.

Recommended tutorial: "PHP"

The above is the detailed content of What is distributed computing?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn