Chapter 50 A Scholar Who Can't Apply What He Has Learned Is Not a Real Scholar
"You wrote a crawler in Python?" After listening to Lu Zhou's statement, Wang Xiaodong, who was holding the phone, frowned.
Lu Zhou explained: "Accurately speaking, it's a ticket grabbing app. I'm going to buy a server to try it out. Do you have any good suggestions--"
"Don't bother," Wang Xiaodong interrupted Lu Zhou unceremoniously, and said, "Can you use a server? Do you have a place to put it? You can put it in the bedroom and try it, it won't run for half a minute, and the whole floor will be with you. You pull the brakes together."
Uh? !
Is it so exaggerated?
But listening to his tone, I always feel like he tried...
Across the phone, Wang Xiaodong continued with an indifferent expression: "If you want to earn some pocket money, you can take on some outsourcing projects. There is no need to operate the APP thankfully. If you have spare money and want to play, you can try renting a cloud server. You save money by setting up your own servers. You don’t need to worry about electricity bills, internet bills, noise, and heat dissipation. There are bills based on traffic, hourly or monthly.”
"Is this still possible?" Lu Zhou was stunned.
"So what is it for a layman to join in the fun," Wang Xiaodong sighed and continued patiently, "Also, it's better to register a domain name for the app you develop. I don't think you have considered it."
"Can't I use the server IP directly?" Lu Zhou asked.
"No," Wang Xiaodong replied decisively, "For example, if you develop an app on the ios system, if you write a fixed server IP address in the code, once the cloud service operator changes the server equipment, you not only need to repackage and upload the Appstore, but also It may be directly cut off more than half of the users, after all, not everyone will turn on automatic updates."
Holding grass? !
Very dangerous, Lu Zhou has never heard of this.
After a pause, Wang Xiaodong continued: "And the most important thing is that if your crawler needs to collect data from a third-party website, it may be blocked by the website operator's IP. Using a cloud server can avoid this problem. For operators of all levels, the IP pool is astronomical, and it saves you the trouble of creating virtual IPs.”
Once he talked about his area of expertise, the scholar suddenly became a chatter, and it was a babble when he talked about it. This reminded Lu Zhou of Comrade Guangming in their dormitory. Once he talked about the gameplay of the enchantress, he could talk about it for half an hour.
Of course, what Wang Xueba said was quite valuable.
Lu Zhou not only listened carefully, but also took a small notebook to memorize.
"...If it is from the 12306 website, the crawler itself can't consume too much server resources, especially now that it is in the stage of promotion for small and medium-sized enterprises, and the price is very favorable. I think...In the early stage, you rent a package that can send and receive packages. A server of one million PPS is enough, and more than three hundred yuan a month is enough. When the number of user visits increases, you can directly spend money to upgrade the service, which is definitely more convenient than tossing the server yourself.”
Hold the grass, Xueba deserves to be a Xueba.
Lu Zhou felt that he had saved at least tens of thousands of dollars of wasted money with just one phone call.
Of course, you still have to buy your own server, but you can delay it for a while and wait for his funds to turn around.
"Thank you, I'll invite you to dinner another day." Lu Zhou thanked him solemnly.
"Say more."
The topic changed from computer to eating. Wang Xiaodong's enthusiasm for speaking instantly disappeared, and he returned to the state of cherishing words like gold.
However, Lu Zhou just finished asking all the questions he was going to ask, so he didn't have the heart to continue chatting awkwardly. After saying thank you again, he hung up the phone.
Holding the mouse, Lu Zhou landed on the Alibaba Cloud page and started searching for service items.
Indeed, as Wang Xiaodong said, Alibaba Cloud is currently promoting, and servers have considerable discounts.
"The monthly rent of a server with one million pps is only 300 yuan, including 100G free ssd cloud disk, and 200 yuan can be upgraded to 1TB... The excess part is charged at 0.3 yuan per G data per month. CPU and intranet bandwidth, as well as the ability to send and receive packets You can upgrade the service independently, with a 50% discount within three years..."
This price can be said to be quite favorable. If there are no accidents, he can control the expenses of operating the APP to less than 1,000 yuan in the short term. If users exceed the expected number, they only need to pay to upgrade the service.
"That's it, the next thing is to promote the app, it has to be in time for the school season." Lu Zhou thought.
Go to the post bar to advertise, and promote it in the new group...
In short, the primary goal is to increase the number of streaming users!
Filling out the application for renting the server, Lu Zhou went to the bathroom to take a shower, dried his hair and returned to the bedroom.
However, just as he was about to climb the ladder to sleep, he suddenly smelled a pungent odor.
Looking back, I saw Liu Rui, who was lying on his side, vomited.
What the hell!
Didn't this kid sleep well just now? Why did you vomit?
Lu Zhou didn't have time to hesitate, he immediately jumped off the ladder and dragged Liu Rui to the toilet.
"Go away...I can still drink." Liu Rui said in a daze, and reached out to push Lu Zhou, who was supporting himself.
Seeing this kid's reaction, Lu Zhou panicked and quickly said, "Fuck, Brother Rui, you have to hold back! I warn you, I just took a bath!"
"vomit……!"
Lu Zhou: "..."
This bath was a waste of time, and I couldn't sleep, and the dormitory had a sour smell in my stomach, which was simply sour.
Lu Zhou swore that this was the last time he would drink with Liu Rui.
In the end, Liu Rui vomited and woke up. Looking at the mess on the ground and Lu Zhou's clothes, he said sorry several times.
Turn off the air conditioner, the two of them cleaned up the debris together, and opened the front and rear doors for ventilation.
After doing this, Lu Zhou took a shower again. After coming out, he hugged his mat without saying a word, and resolutely slipped to the monitor's dormitory to make the floor.
In this ghost weather, I can't sleep without air conditioning.
...
The next day, Lu Zhou got up early.
When returning to the bedroom, Liu Rui was still snoring on the bed.
Lu Zhou ignored him, went straight back to his place, and turned on the computer.
The cloud server applied for was in place soon. After uploading the data, the web crawler started to work, crawls down and organizes the data such as the station's train ticket information and other data on the 12306 official website. Realize one-click ticket purchase, sales reminder, automatic ticket purchase, regular ticket brushing, etc.
It has all the functions, and it is quite convenient. Although the light blue interface is a bit monotonous, at least it is not annoying.
Now that my mobile phone is loaded and unloaded, Lu Zhou randomly selected a station to test again, and found that the normal order is completely OK, and finally clicked cancel the order in the payment link.
Then he spent another whole day, and he followed the process to put the app on the Android Market, Baidu Mobile Assistant, 360 Assistant and other large domestic Android software download platforms.
Through the developer's backend, Lu Zhou sighed when he saw that the downloads were stable at 0.
"Sure enough, operating an app is not so easy to do. If the wine is not fragrant, I am afraid that the alley is deep. It is a big problem to have no users."
"The free promotion applied by several platforms, I don't know when it will be down."
Shaking his head, Lu Zhou turned off his laptop and stuffed the book he was going to read today into his schoolbag.
"It doesn't matter, let's try to operate it for about half a year. If you really can't do it, you should accumulate experience."