I have two main topics, one is some applications of Kingsoft Game official website, and the other is the architectural design in Keyes, Kingsoft Game operating system.
The official website of Kingsoft Games includes user center, customer service system, forums, videos, official websites of each game, and other game-related products. It mainly uses 64-bit CentOS Linux system, Nginx, PHP 5.2 version, and MySQL 5.5.
Let’s first look at team collaboration development. We have definitely encountered such a situation. In many projects, multiple people develop at the same time, and the development environment and testing environment are different. Many of our PHP engineers develop code on Windows. Although the Nginx+PHP+MySQL environment can also be configured on Windows, since the test environment and production environment are both Linux systems, and some functions can only run under Linux, it is still difficult to Some PHP extensions (for example: distributed image processing, Kingsoft Pass encryption extension) can only run in the Linux environment. When we modify a few lines of PHP code on Windows and want to see the execution results immediately, it will be too slow if we use tools such as FTP to transfer it to a Linux test server for testing. If there are many people developing at the same time on the same Linux test server, and the PHP file you upload may overwrite the file of the same name uploaded by others, there will be no way to achieve version control.