Chapter 967 (2/2)
The carrying capacity of any website has a limit. If the login mechanism of a website has a limit on the number of visits, then any hacker can write a script that constantly logs in, and let the script send millions or even tens of thousands of login requests in a second, which can quickly destroy the login mechanism of the entire website, so that all users can not log in normally.
In response to this ”efficiency”, smart Internet people invented a mechanism of human-computer identification: verification code.
If there is no verification code, a script can submit 10000 login requests in a second; but once the verification code that cannot be identified by the script is added, the purely automatic script is immediately killed outside the website, and you want to submit the login request? Yes, first fill in the verification code. It will take at least a few seconds to identify some illegible verification codes. It will also take a few seconds to fill in. Even if it is successful once, it will take at least ten seconds to submit a login request.
Ten thousand times a second, and ten seconds a time, the efficiency is 100000 times worse.
Mr. Ma's technical team has developed a full-automatic script 10000 times a second, and Taobao's server can carry tens of millions of people to browse at the same time. With such powerful bandwidth and server support, Mr. Ma's technical team can collect all the pages of Taobao in a few hours.
But once watermark goes online, boss Ma's wishful thinking will be lost.
At that time, there will be only three choices in front of boss ma.
The first choice, in order to ensure efficiency, we should also use it! Li Mu can't get it. At that time, the whole letao is all pictures with Taobao's watermark logo. This advertisement is really suitable;
the second choice, in order not to advertise for Li Mu's Taobao and hit his own face at the same time, to give up efficiency, instead of collecting in batches, but to upload after being blocked manually, so the efficiency will be greatly slowed down. At present, the average number of pictures of Taobao's product introduction is about 5. If five pictures are immediately watermarked at different positions and all of them need to be covered manually, it will take at least a few minutes
The third option is that letao will no longer help Taobao sellers collect and put them on the shelves, and let Taobao sellers upload their own products. The original pictures in their hands do not have Taobao's watermark logo. But although letao's troubles are subtracted, they will throw such a large amount of work to Taobao sellers at once. Can they be happy?
At nine o'clock in the evening, Lu Zhaoxi came to boss Ma's office excitedly and said, ”Mr. Ma, our collection script and upload script have been finished, an hour ahead of the expected time!”
Finally, some good news! Ma immediately stood up and said happily, ”very good, very good! The efficiency of the colleagues in the technical team is praiseworthy! ”
After that, boss Ma said: ”right! In order to avoid long dreams, let the technical department immediately collect all the product pages of Taobao. Remember to use a script to replace the IP. If an IP generates a lot of visits, Li Mu will definitely notice! We should collect the information of these commodities before he detects it, so even if he tries to block it, it doesn't make sense! ”
Lu Zhaoxi nodded at once: ”I'm going to tell you!”
The function of automatic IP replacement. There are a lot of ready-made software and scripts on the network. All kinds of small websites brush independent IP and brush PV with scripts that can constantly replace IP. Letao's technicians have ready-made scripts themselves, almost just take them and use them.
At 9:10, letao officially launched the collection of Taobao pages. For Baidu, as a search engine, to collect a Taobao page is just a drop in the bucket for its whole collection work, but for letao, it's really a huge project.
Tonight, Professor Lei is working overtime on taobao.com.
The technical means used by Taobao to increase the logo in batches is not to add logo to every picture on the server, but to add a function directly in the website program. Once this function is enabled, users who visit the website after it is enabled will automatically display the logo on the picture when they visit the product details page. Therefore, letao needs one Click to collect the page, but Taobao has mastered the switch of adding watermark logo to all pictures in an instant.
More importantly, this switch, as early as an hour ago, has been quietly turned on.
When letao's collection script work started, the person in charge of the technical department focused on the number and speed of collection, but inadvertently found an exception: in the information of the product pages collected one after another, each picture of the product was introduced with a two line translucent white logo!
The previous line of the logo is ”Taobao”. The next line is“ ”……