Chapter 13: Super server optimization technology


   The next day, the second batch of 20 servers was delivered.
   Ye Fan sighed bitterly as he looked at the server counter that filled most of the basement.
   Being a boss is really hard work. Not only do I have to do the code myself, I have to do everything myself, and I have to live in the company and work overtime every day.
  Life is really hard!
   Ye Fan quickly edited a maintenance message on the official website and on the World Channel and sent it out.
   ["Top of the Gods" will be shut down for maintenance after 15 minutes. The maintenance process will be 15 minutes. After this maintenance, it will be able to accommodate more than 200,000 players to play. 】
   After sending the message, Ye Fan took a small notebook and kept recording complex codes and computer languages ​​on it. At the same time, he opened the door of the basement and frowned as he listened to the buzzing server fan inside.
   This small book, if taken out, will definitely be used as a textbook for computer science.
The code optimization in    is simply seamless, and it has reached the peak of existing computer languages.
   But Ye Fan felt that this was not enough.
  Although using super code technology, Ye Fan has optimized the 110 servers to the greatest extent, and the delay between the servers has been reduced to a minimum.
   However, if you want to connect the servers smoothly and achieve super balanced calculation without delay, this is obviously not enough.
  Why don’t the major game companies open up large online game maps?
   Because the delay problem between servers has not been solved, with existing server technology, major game companies including Ye Fan’s current technology can only allow twenty servers to carry a large map.
   Ye Fan tried his best. At this time, the twenty servers can only carry Golden Circle City at most, plus the large-scale maps in the suburbs.
Don’t think that the GTA5 map is too big. Each large map has an area more than ten times that of the GTA5 map. This does not count the tens of thousands of independently operating NPCs in the city and the more than 80,000 wilds strange.
   If the element city area is opened up in the future and all areas are merged together, the entire map will be half the size of Hong Kong Province.
   The existing server is unable to run such a large map, even if it is forced to run, it will only cause a stutter that players cannot tolerate.
   Why is it stuck?
   Because the delay between the servers is too high, the large operations between the servers are not well distributed to each server.
   A more intuitive example is MediaTek’s "One core is difficult, seven cores are onlookers".
   The delay between servers is not resolved, even if Ye Fan increases to a thousand servers, the card will still be stuck.
   At this time, the program that Ye Fan wrote through super code technology came into play.
   This program is called "Super Server Optimization Technology"
The principle of this program is to connect the servers in the entire server room to simulate a one-hundred-core super processor, which is similar to a small-scale supercomputer. It strengthens several times its computing power and handles large-scale floating-point and fixed-point operations. data.
   After recording some data on the small notebook, Ye Fan inserted the U disk into the server terminal computer and started to import the data.
   "With this program, you can use a small number of servers to achieve the effect of large-scale server clusters, which can be regarded as an affordable leaf choice." Ye Fan manipulates the computer and updates after the data is imported.
   After pressing the update button, all servers shut down in an instant, and the fans all turned off. At this time, the whole underground was extremely quiet for an instant.
   In the next second, all services light up at the same time, and the sound of the radiator rang again, but it is much smaller than the sound of the fan just now.
   Ye Fan simply tested the computing power and found that the existing server can accommodate 2.5 million people and play online in the same area at the same time.
   But this technology is not perfect, there is a fatal flaw.
   More than one hundred servers are connected in series to form a large processor core. As long as one server crashes due to an error, the entire server cluster will be down and all players will be disconnected.
   In order to avoid this situation to the greatest extent, Ye Fan will buy the latest and most expensive server. No matter how expensive it is, he must buy it. The requirement is to be stable.
Each super city will have its own unique characteristics. If Golden Ring City, Water Ring City, etc. are a city, then Golden Ring City is a province, and more provinces and cities will be launched in the future, and finally merge into the entire human continent federation empire!
   This is Ye Fan's plan!
  After handling everything ~EbookFREE.me~ Ye Fan also closed the door of the basement and began to continue preparations for version 1.3.
   After all, a game is to continuously launch new content and continuously attract players to make more money.
   The number of recharges in the past two days is obviously much smaller. Now the daily profit is only more than 7 million, which is 30% less than when the 1.2 version was first launched.
   Why is it like this?
   It's not because the gods and players are unwilling to recharge, but there is nothing to buy!
There are only ten products in the entire mall. Except for the two bottomless pits, the Grand Master suit and the maglev sports car, all other fashions are sold at one stroke. After all, it is impossible for a player to buy the same two fashions and get them on the exchange. Discount and sell.
   So if he does not launch new content quickly and attract new players, his turnover will be further reduced.
   Although you can rely on the exchange’s 3% commission to renew your life, the most important point is.
   Are you willing?
   Must make money!
   So Ye Fan started the development of version 1.3 again.
   This development is another 5 days of writing code. Ye Fan swears that this is definitely the most tiring job he has done. If he keeps on doing this, he may die suddenly.
   It seems that everything is equivalent to the system version 1.1 after the learning is on line.
   When the time comes, the system will unlock some new functions and put some new products on the shelves. Ye Fan hopes that the system has a key to write code technology, no matter how much faith is worth, he will also exchange it, after all, he will be liberated.
  
Latest chapter of Ebook My Super Black Technology Empire Click here