Design Concept of 100,000 online webgame in a single world (I)-server quantity estimation

Source: Internet
Author: User
Server quantity estimation

Estimated number of online users:

Before the project design, we need to estimate the number of servers in operation. The number of activated servers is expected to reach 300, the number of active servers is 40, and the number of active servers is also online. The server design limit is 500 active users, 60 active users, and up to online users at the same time.

Data Reference:

The reason for this low number of activations is that the entire server is considered. "Three Kingdoms" stores different users on different servers, so the number of active users on a single server does not significantly affect the pressure on the server. If all players are unified into a group of servers, the access pressure on the user table is too high. The low number of active users depends on regular cleaning of inactive accounts.

Database Server quantity estimation:

Servers are generally divided into DB servers and web servers. In the previous operations, the database and web server are usually configured in a manner, and the actual configuration ratio can be. However, in the design of a single world, a single DB server cannot meet the requirements. A strategy-type webgame was designed before. during operation, the number of SQL statements per second is 1 ~ 1.5 times. However, this test data is stored when there is no money to fully apply the cache. In the new system, if the cache is fully applied and the memcache-like software is used to provide the data cache, in this way, the database access pressure will be greatly reduced, so We tentatively set the number of SQL statements per second to double the number of online users. Under normal circumstances, the database access pressure should be SQL/second limit data should be SQL/second.

The database uses Ms sqlserver 2008. In a previous webgame strategy project, the stress test is performed on a server with an e5520 core CPU. The data obtained is as follows:

SQL count

5 K

CPU

50%

Hard Disk Io

0.5 m (burst 3 m)

Nic traffic

30 Mbit/s (M Nic)

 

According to the above analysis, under normal circumstances, we need to provide 20 DBS for the entire system. The Web server is matched with the dB at, and 20 servers will be arranged. It is expected that three cabinets will be deployed on the server.

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.