Chapter 279: The Return Trip
After returning from Scarface's house, Li Zhengyi rushed back to Qingyun District, accompanied by Lin Yuantu and Shao Qin.
During the Spring Festival, the business of Internet cafes not only did not decline, but was extremely hot. The studio has been closed for three days, and the store opened by the Zhengyi Internet café on Taobao has thousands of cumulative orders, all of which are orders placed by the players in Xiangning City.
Seeing Li Zhengyi and Shao Qin returning, he was so happy that he wanted to cry, but he didn't know how difficult it was to take over the overall management for two days, and the Internet café was full of miscellaneous affairs, which almost collapsed him, all kinds of pressure and worries, and he didn't sleep well for the past two days.
When the shift was handed over, he opened the drawer lock under the counter with trembling eyes, pulled out the small cabinet inside, and there was actually a lock on it, and continued to open it, only to see the small safe inside, and there was a lock on it.
Li Zhengyi couldn't laugh or cry: "How much is it in the past two days, so you have three locks in a row, are you tired?"
Cross-eyed said: "There are recharges, and there are snacks that sell more than 10,000 yuan, if you don't lock it tightly, you don't feel at ease." ”
"Are there any problems with the computer?"
"Yes, but it's all settled. ”
"Oh, who solved it?" Li Zhengyi was quite surprised.
Cross-eyed said, "Teacher Shi, he's on the second floor." ”
……
Li Zhengyi asked him to hand over to Shao Qin, and ran to the second floor by himself, and sure enough, he saw Shi Shengjie sitting in front of the computer, frowning and thinking about the problem.
"Brother Jie, why did you come here today and didn't go to your mother-in-law's house?" Li Zheng pushed the door in, and Shi Shengjie found him.
"Went and came back. Shi Shengjie replied casually, pointing to Taobao on the computer interface and said, "The number of registrations suddenly soared to 40,000, and the peak click traffic on the website was close to 100,000, I checked, this is the highest traffic on the night of Chinese New Year's Eve." Since that day, the number of visits has remained at around 30,000 per day. ”
"Chinese New Year's Eve, is it because of the legendary Chinese New Year's Eve night activities?" Li Zhengyi suddenly remembered the call from the cross-eyed fight the night before, and forgot to ask him about the auction just now.
Shi Shengjie said: "It should be. ”
Li Zhengyi said: "This is a good thing, why are you sad and sad?"
"A good thing?"
Shi Shengjie asked rhetorically, and then said: "That's lucky, just our two all-in-one servers, with a peak access volume of close to 100,000 on Chinese New Year's Eve, did not hang up the server on the spot, I think it's incredible." ”
"Is that exaggerated?" Li Zhengyi was dumbfounded.
Shi Shengjie sighed and said: "Where do you think the Internet companies eat money? In addition to propaganda and operation, the server is the big head." The server integrated by our two all-in-one machines used to accommodate 20,000 online people, referring to the number of visits, not the number of concurrent users. If you come together, don't want 20,000 or 10,000 users to connect to the request, you can directly collapse these two broken servers. ”
Li Zhengyi was speechless: "Fortunately, there is no external promotion for the time being, only limited to Xiangning City." ”
Shi Shengjie continued: "Sooner or later, the all-in-one server will not last long. If the peak value is too high, it is easy to directly crash or freeze, and if the daily access is too high, it will also cause the existing server to be overloaded for a long time. ”
"In fact, it's not just the hardware that I'm worried about now, after all, money can solve it. The key is that we also found another problem, our Taobao data interaction algorithm needs to be optimized, we must find a way to solve it, the interaction algorithm I edited before is not enough to cope with too high concurrency. ”
"I understand the server in front, what does it mean in the back?" Li Zhengyi didn't understand any algorithm problems.
Shi Shengjie explained: "The Taobao we are doing now, because of manpower reasons, whether it is the front end of the page or the data backend, it is relatively rough. It's just a preliminary architecture for the transaction mode, display order, ranking logic, art, and back-end database, etc., which are relatively simple things and quick to make. ”
However, the trading website is different from the general display platform and portal, the latter only needs hardware supporting facilities to keep up, will not have much impact, but the former is different, its data background is very dependent on the data interaction algorithm, the more advanced the interaction algorithm, the more it can maintain the high number of visits to the website and high concurrency data interaction, it can be said that the data interaction algorithm is the core foundation of the trading website. ”
"You may not have any intuitive impression now, make a simple analogy, in the case of sufficient hardware, Taobao has developed to a certain extent, such as a certain moment, Taobao website registered users exceeded 50 million, assuming that the data interaction processing capacity is concurrent 5 million, if the number of online transactions at this time exceeds 4 million, then there will be no problem with the website at this time, if it is close to 5 million, the website will be a little stuck; if it reaches 800-10 million, the website will be very stuck; if the number of online transactions at the same time suddenly soars or even reaches a peak…… Of course, the peak is a theoretical value...... At this time, because the data interaction in the background database cannot be processed, it is reflected to the front-end, that is, the website is directly stuck or crashed. ”
"In fact, if the development prospects are good, the registered value of 50 million is not necessarily very high, maybe 500 million is possible. With such a high number of registered users, the number of simultaneous online transactions is a very sensitive data. Strictly speaking, as a trading website operation platform, no matter how high the number of online transactions at the same time is, there should be no lag or crash, so the data interaction algorithm must be treated as a top priority. ”
"Is there a solution to this serious problem?"
If Taobao's positioning is just to be a 5173, it doesn't matter, it only has millions of players, but Li Zhengyi's ambition is to do e-commerce and reach the height of Ma Taobao in his previous life.
Not to mention anything else, a Double 11 can make concurrent data explode.
Shi Shengjie said calmly: "After this period of observation, I found that this website is not simply for games, it can adapt to all walks of life in social life, in other words, the above assumptions are likely not to be assumptions, this is a website that can be bigger and stronger." And relying on me alone, I can't do much, I can only ensure that within the tens of millions of active users in the early stage, on the basis of the server and other hardware to keep up, there will be no problems with the website. However, once it is popularized, the number of registered users increases exponentially, and the number of active users increases significantly, it is impossible to go it alone, and it must rely on the strength of the team. ”