032 Technical Limits

The dilapidated house happened to rain overnight, and Ai Wen could only flash to the office immediately, Erhai was scratching his ears and cheeks at the background data, and seeing him was like seeing a savior:

"Dude! Our original design solution was not good, and each additional user brought in a variable directly caused the exponential growth of computing resources.

And the special thing can't return the result in real time at all, the user is connected to the card, and the user behind it has no output, and the algorithm is blind ** infinite loop, and the whole labor and management collapse. ”

"Damn, I really expected it to be fierce, but I didn't expect it to be so fierce!" Ai Wen's brows furrowed: "What solution do you have!" ”

Erhai turned around and snapped his fingers:

"I'll give you a look at it first, our current solution is to write a script in real time based on user emotional and behavioral feedback, and arrange the next step of the task through the script.

However, each user is not an independent entity, and his actions affect other users.

As a result, the algorithm has to take into account the impact of other users and write the task script together.

If we have 1,000 users, one user's data will be given to 1,000 algorithms, and a thousand results will appear, and this thousand results will be given to another 1,000 users to calculate the next task.

This is a thousand test users, if there are 100 million players, the existing server of Wax will not be able to withstand it at all, and I estimate that about a dozen tasks will collapse directly. ”

Wang Longlong scratched his head:

"This amount of calculation will collapse for anyone, otherwise it will be made into a stand-alone game. Each user has a small world, just one living person, and we will arrange NPCs for the rest, so that we only need to cooperate with his tasks and arrange NPCs to cooperate at any time. ”

"No," Liu Lili said, "In this way, it is equivalent to matching each user with independent resources, and the cost is too high, and users can't afford to play at all." ”

Zhang Xiao gave Wang Longlong a pair of white eyeballs:

"Oh, didn't you bring your brains. A user, give him a whole world of resources, this game you can afford!

Moreover, if users do not have real social interaction in the game, it is not conducive to us to acquire players through the social network effect, and the marketing cost will not be reduced.

Don't talk about user play, just this brainless plan, Mr. Li will kill you! ”

"What if we do user tiering?" Ai Wen said, "Previously, Erhai's resource calculation method used 1,000 people to do the test, if we divide the users into 500 groups, can the computing power required to run a lifetime task resist?" What about 500 people sharing the underlying resources together? ”

"I'll test it," Erhai set the data for simulation, and twenty minutes later, the system crashed again:

"No, 500 people run 100 sets of servers, at most each person can run 21 tasks, just three years old, this has not yet made the granularity of the task system fine, they are all node-type tasks, and users will not feel too coherent."

Liu Lili shook his head: "Five hundred people sharing one hundred sets of servers is already the limit of what ordinary users are willing to pay for the basic value of the game." ”

"What if you use a super server? Erhai, how many tasks can you run? Liu Lili: You calculate the cost of users. Evan said.

"Ten sets of super servers can accommodate 500 people, and the number of tasks can run up to 400, less than 20 years old, because the number of tasks is not linear with age."

"With super server, the cost per user will rise by 8%, and the core technology of super server has a technical monopoly in the hands of Atifei, and the price has not come down." Liu Lili said.

Erhai lay on the chair: "The key is that these four hundred are node-type tasks, and in order for users to have a sense of realism, there must be more than 100 times the number of node tasks, and the resources can't be carried at all." ”

Ai Wen frowned: "In terms of algorithms, we have optimized to the extreme, and as far as the current game scheme is concerned, it is now the limit of technology." ”

"One billion users, one billion sets of algorithm programs, algorithms have to take values from each other in real time, add parameters and calculate dynamically, it's too scary." Erhai looked at Ai Wen: "If you can unify all the algorithms with a whole set of super algorithms, this matter will be awesome." ”

Evan leaned back on his desk and rubbed his face: "It's not just a problem with the algorithm, it's a problem with the game design mechanics, and the game needs to be redesigned and reinvented." ”