Home headlines Baidu handles the traffic of the Spring Festival Gala, but programmers are more interested in another point!

Baidu handles the traffic of the Spring Festival Gala, but programmers are more interested in another point!

Feb 12, 2019 am 11:59 AM
programmer

Baidu has been able to handle the traffic of the Spring Festival Gala, which is amazing. Some people compare Baidu’s 2019 New Year’s Eve activities to Alipay’s Five Blessings and WeChat red envelopes. Obviously BAT is worthy of its name. You can leave headlines and short videos, but you can never leave search, social networking and e-commerce.

Baidu handles the traffic of the Spring Festival Gala, but programmers are more interested in another point!

Luo Zhenyu said in his New Year’s Eve speech on New Year’s Day that the traffic of the Spring Festival Gala is very strong. To advertise in the Spring Festival Gala, it is not only necessary to have enough money, but your server cannot crash. So Alibaba advertised in the Spring Festival Gala, but what people didn't expect was that Alibaba's servers were not good enough. However, while some Internet people are discussing that Baidu has not collapsed, programmers are more interested in another point, and that is architecture!

Baidu handles the traffic of the Spring Festival Gala, but programmers are more interested in another point!

Some people say they want to ask a mentally retarded question, that is, what is the structure of Baidu’s red envelope grabbing activity? Is it based on C or JAVA? Some PHP masters guessed: the main venue, the yaf framework of PHP鸟哥, the php hhvm business layer, the underlying c, and the data are all in memory. Large front-end traffic scheduling golang, video and picture storage BOS system uses CDN, and there are many jobs in different places across the country. The success of the Spring Festival event is the result of Baidu’s tens of thousands of R&D efforts and the joint efforts of all business lines.

Baidu handles the traffic of the Spring Festival Gala, but programmers are more interested in another point!

There is another programmer who likes to play King of Glory and wants to guess. He guesses that it is swim lane redis asynchronously to mysql and then asynchronously to redis. One set can support 3-5wqps, and multiple sets can be deployed using user lanes. According to Baidu's system, the probability of accessing bfe is relatively high, but the possibility of directly using nginx lua as the gateway and using php for the business layer cannot be ruled out.

Baidu handles the traffic of the Spring Festival Gala, but programmers are more interested in another point!

A Meituan employee was a little disdainful: Are we still focusing on the data center level? Just edge computing. CDN functional calculations in various places, and then exchanging data with the data center, can block most of the traffic. The data center is nothing more than a traffic gateway entrance, followed by a business gateway diversion, and it can be layered and horizontally stacked with machines.

Baidu handles the traffic of the Spring Festival Gala, but programmers are more interested in another point!

Although some netizens feel confused, some Alibaba employees feel that MySQL is not necessary for things like red envelopes, and Redis is the best. Some Baidu employees said: The most basic implementation is nothing more than queue memory. In fact, this is not very advanced, everyone can do it. But the architecture is different. In addition to bfe access, the backend is layered with lua, go, c, and php.

Baidu handles the traffic of the Spring Festival Gala, but programmers are more interested in another point!

The last Baidu employee suspected of participating in this red envelope structure gave the answer, saying that the traffic distribution is golang and the business is php. After New Year's Day, the company notified us to do this. The PM developer was confused and then forced himself to do it. He worked overtime for three weeks at least 12 o'clock every day, and finally got it done. The requirements kept changing, the development kept rewriting, and the tests kept retesting... It was really only three weeks, and I admire how I survived. The code was changed to 15 versions!!!

Baidu handles the traffic of the Spring Festival Gala, but programmers are more interested in another point!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Which AI programmer is the best? Explore the potential of Devin, Tongyi Lingma and SWE-agent Which AI programmer is the best? Explore the potential of Devin, Tongyi Lingma and SWE-agent Apr 07, 2024 am 09:10 AM

On March 3, 2022, less than a month after the birth of the world's first AI programmer Devin, the NLP team of Princeton University developed an open source AI programmer SWE-agent. It leverages the GPT-4 model to automatically resolve issues in GitHub repositories. SWE-agent's performance on the SWE-bench test set is similar to Devin, taking an average of 93 seconds and solving 12.29% of the problems. By interacting with a dedicated terminal, SWE-agent can open and search file contents, use automatic syntax checking, edit specific lines, and write and execute tests. (Note: The above content is a slight adjustment of the original content, but the key information in the original text is retained and does not exceed the specified word limit.) SWE-A

Revealing the appeal of C language: Uncovering the potential of programmers Revealing the appeal of C language: Uncovering the potential of programmers Feb 24, 2024 pm 11:21 PM

The Charm of Learning C Language: Unlocking the Potential of Programmers With the continuous development of technology, computer programming has become a field that has attracted much attention. Among many programming languages, C language has always been loved by programmers. Its simplicity, efficiency and wide application make learning C language the first step for many people to enter the field of programming. This article will discuss the charm of learning C language and how to unlock the potential of programmers by learning C language. First of all, the charm of learning C language lies in its simplicity. Compared with other programming languages, C language

Make money by taking on private jobs! A complete list of order-taking platforms for programmers in 2023! Make money by taking on private jobs! A complete list of order-taking platforms for programmers in 2023! Jan 09, 2023 am 09:50 AM

Last week we did a public welfare live broadcast about "2023PHP Entrepreneurship". Many students asked about specific order-taking platforms. Below, php Chinese website has compiled 22 relatively reliable platforms for reference!

2023过年,又限制放烟花?程序猿有办法! 2023过年,又限制放烟花?程序猿有办法! Jan 20, 2023 pm 02:57 PM

本篇文章给大家介绍如何用前端代码实现一个烟花绽放的绚烂效果,其实主要就是用前端三剑客来实现,也就是HTML+CSS+JS,下面一起来看一下,作者会解说相应的代码,希望对需要的朋友有所帮助。

what do programmers do what do programmers do Aug 03, 2019 pm 01:40 PM

Programmer's job responsibilities: 1. Responsible for the detailed design, coding and organization and implementation of internal testing of software projects; 2. Assist project managers and related personnel to communicate with customers and maintain good customer relationships; 3. Participate in demand research and project feasibility performance analysis, technical feasibility analysis and demand analysis; 4. Familiar with and proficient in the relevant software technologies for delivering software projects developed by the software department; 5. Responsible for timely feedback on software development situations to the project manager; 6. Participate in software development and maintenance Solve major technical problems during the process; 7. Responsible for the formulation of relevant technical documents, etc.

520 programmers' exclusive way to express romantic feelings! Can't refuse! 520 programmers' exclusive way to express romantic feelings! Can't refuse! May 19, 2022 pm 03:07 PM

520 is approaching, and he is here again for the annual show of tormenting dogs! Want to see how the most rational code and the most romantic confession can collide? Let’s take you through the most complete and complete advertising code one by one to see if the romance of programmers can capture the hearts of your goddesses?

A brief analysis of how to download and install historical versions of VSCode A brief analysis of how to download and install historical versions of VSCode Apr 17, 2023 pm 07:18 PM

Download and install historical versions of VSCode VSCode installation download installation reference VSCode installation Windows version: Windows10 VSCode version: VScode1.65.0 (64-bit User version) This article

List of the best Windows 11 terminal emulators in 2022: Top 15 recommendations List of the best Windows 11 terminal emulators in 2022: Top 15 recommendations Apr 24, 2023 pm 04:31 PM

Terminal emulators allow you to emulate the functionality of a standard computer terminal. With it, you can perform data transfers and access another computer remotely. When combined with advanced operating systems like Windows 11, the creative possibilities of these tools are endless. However, there are many third-party terminal emulators available. Therefore, it is difficult to choose the right one. But, just as we do with the must-have Windows 11 apps, we've selected the best Terminals you can use and increase your productivity. How do we choose the best Windows 11 terminal emulator? Before selecting the tools on this list, our team of experts first tested them for compatibility with Windows 11. We also checked them