Solve the game server load limit problem and the game server load limit

Source: Internet
Author: User

Solve the game server load limit problem and the game server load limit
A recently developed online game is coming to the release stage, but the server load limit is a problem. How can this problem be solved?
The following solutions are available:
1. queuing mechanism, like wow;
2. Add a "full" mark to the full server to prevent players from logging on to the current server. We recommend a new server or idle server to the server;
3. Control the number of player registrations to enable all players in the current server to enter the game. After the number of players is reduced, the server can be integrated;

In the case of competitor games with 1st solutions, it seems that they are not suitable, and no one is willing to stare at the mobile phone;
2nd solutions will surely get scolded. If the player is not able to enter the server if it is difficult to have a little free time to play the game, he will not be able to enter the server where all the equipment is located, and he will be recommended to another server. The player is estimated to lose in minutes;
I personally think the 3rd solutions are relatively good, but they are a waste of resources.

Thank you!

Also welcome to the forum discussion: http://bbs.csdn.net/topics/390911618? Page = 1 # post-398387804


How to handle excessive server load?

To put it bluntly, it is the server's capacity. First, check whether the server hardware is sufficient to support the current traffic.
Common P4 servers generally support up to 0.1 million independent IP addresses per day. If the traffic volume is larger than this, you must first configure a dedicated server with higher performance to solve the problem, otherwise, it is impossible to completely solve the performance problem.

Second, optimize database access.
An important reason for excessive server load is that the bottleneck can be effectively broken only when the CPU load is too high and the server's CPU load is reduced. However, static pages can minimize the CPU load. The front-end is fully static. Of course, it is best to achieve it without having to access the database at all. However, for websites with frequent updates, static content often cannot meet certain functions.
Caching technology is another solution. It stores dynamic data in cached files. dynamic webpages directly call these files without having to access the database, wordPress and Z-Blog use this caching technology extensively. I also wrote a Z-Blog counter plug-in based on this principle.
If you cannot avoid database access, you can try to optimize the database query SQL. avoid using statements such as Select * from. Only the results you need are returned for each query to avoid a large number of SQL queries in a short period of time.

Third, prohibit external leeching.
Image or file leeching on external websites often results in a lot of load pressure. Therefore, we should strictly limit external leeching on images or files. Fortunately, at present, we can simply use refer to control leeching, apache can disable leeching through configuration. IIS also has some third-party isapis to implement the same function. Of course, spoofing Referer can also implement leeching through code. However, currently, there are not many attempts to deliberately forge Referer leeching. You can skip this step or use non-technical means to solve the problem, for example, add a watermark to an image.

Fourth, control the download of large files.
Large file downloads consume a lot of traffic, and for non-SCSI hard disks, large file downloads consume CPU, reducing website response capabilities. Therefore, we recommend that you do not download large files larger than 2 MB. Currently, many free Web websites provide Image Sharing and file sharing functions. Therefore, you can upload images and files to these sharing websites as much as possible.

World of Warcraft Server Load Problems

This may be due to a server problem. It doesn't mean the server is full, or the server is not good. Some people have a high load. There is no way to do this. I don't know if the official website is inaccurate, I have always changed the ZAM server in Zone 2. It is estimated that the server is not good. I can't help it. I just needed to change it that day...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.