Article Title: How to build a LINUX server cluster for 30 thousand RMB. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. What is a server cluster?
With the explosive growth of the Internet, the Internet is increasingly closely related to people's lives, and transactions over the Internet are becoming more and more important. In recent years, the annual growth of e-commerce has exceeded 100%, and the workload of servers has also increased rapidly. Therefore, servers (especially a popular WEB server) are easily overloaded during access peaks.
On the other hand, from the purely scientific computing tasks of the 1946 s to a large number of complicated information processing tasks, the workload is getting bigger and bigger, and the processing capability is getting faster and faster. Therefore, the computer industry has to constantly study faster processors and memories to meet this demand.
However, scientists realized that the speed and development of a single processor is limited. Why can't we make computers work together like humans! At this moment, we started the research of "Parallel Computing.
For example, we have set up a WWW server with an e-commerce website built on it. However, over time, the website becomes more and more famous, and the click rate is getting higher and higher, WWW server load is getting higher and higher. In this case, we must improve the capability of the WWW server to meet the increasing service requests. At this time, we are faced with two options: 1) Upgrade the WWW server, adopt a faster CPU, increase more memory, and make it more powerful; however, the increasing number of service requests will overload the server again, and the server needs to be upgraded again. This leads to a strange situation of upgrading. Also, you have to consider how to continue the service during the upgrade. Can you stop it!
2) Add WWW servers to allow multiple servers to complete the same service.
This method is a server cluster, which greatly improves system performance through parallel technology. That is, the main content of this chapter. This method has good scalability and can maximize the use of existing investment.
1. cluster concept
A cluster is a group of independent computer systems that constitute a loosely coupled multi-processor system. They communicate with each other through a network. Applications can transmit messages through the network shared memory to implement distributed computers.
In recent years, the microprocessor, memory, bus technology, and network technology have been greatly improved, and the parallel technology of software has also been greatly improved, this makes it possible for a group of cheap pcs to work with workstations, and even compete with super computers with powerful chip processing capabilities.
For example, a cluster system composed of 16 general microprocessors can provide sub-floating point computers,
[1] [2] [3] Next page