[INFO: article from personal website www.wilson-loo.com] Game server framework and Internet product understanding
I used to go to play, in fact, a large part of the work is to improve the C + + programming skills, multi-process communication, game logic of the study of the study; the whole person's vision and thinking is also located in the program development and programming; The simple point is, how to write a program code, no opportunity, time and energy Broaden your cognitive horizons and depth. after leaving, contacted the game development and the Internet two major areas of interview. In the game development, will be more involved in the server framework, that is, the framework of the end of the tour, add some script ah, with some ready-made framework; Fortunately, the main can be aware of the processing of data flow, a big reason is that the interview company generally have their own set of frameworks, enter after familiar with the next can start, Is the heap logic, the heap function; In addition, the general game companies under the pressure of investment, will tend to rapid development costs, there is little research attitude-like some of my previous game companies, directly asked the number of players to accumulate up to 1000 people, whether or not active, open new clothes, we coders which have passion for further education- Perhaps this is also the result of my growing up on a higher level of thin, accumulated knowledge business logic experience-but, step by step, at least to be able to add value. Other large internet companies, but also the main framework, but will be involved in disaster tolerance, expansion mechanism. What I can answer is that a world server is in charge of the life and death of each scene server, but what if the single point of the world server is down? The scene server also how to maintain the player data test effectiveness (such as regular disk) and so on, although there are many solutions, but at the time of the interview, can only be fooled. Later a period of research only found that, in fact, the game server framework, is also a distributed one, but has been my vision narrower: now know Redis, Nginx in the game development benefits, whether it is the framework or coding complexity, If I only thought earlier, Nginx is the development of the site, and what the game has to do with, and know why someone used PHP, Java write game server, of course, now I began to choose Golang, and more importantly, memcached, Hadoop, OpenStack , Redis has provided a good solution for distributed, big data, load balancing, before the company and itself are just building wheels. My idea is that if you're still doing game development, you have to think about it as an Internet product, and many implementations can refer to ready-made solutions, not just games.
Knowledge of the game server framework and Internet products