Php in yahoo! App _ PHP Tutorial

Source: Internet
Author: User
Tags ad server
Php in yahoo! . Tan Xiaosheng, director of Yahoo China's technology R & D department, gave a speech. Today, we are honored to talk about our use of LAMP as a user. Yahoo is a world-renowned Internet company. many products are delivered by Tan Xiaosheng, director of Yahoo China's R & D department.

It is a great honor to be able to talk about our use of LAMP as a user today. Yahoo is a world-renowned Internet company with many products. Yahoo China is just Yahoo. COM is a sub-level product. if you really live in North America, you can see that Yahoo's website is related to all aspects of life, from reading news to financial information to how to drive, you can find local food and beverage, shopping, and other information on Yahoo's website. I will introduce the architecture of Yahoo Web server. From the leftmost point of view, the front end uses Internet Explorer or other browsers. a standard server load balancer device may be a simple DNS device or a dedicated VIP device, the standard is to run apache (the most popular WEB server platform on the Unix platform), and the programming language is php (as the mainstream development language). the following code writes the MDBM system based on the memory database, on the right side, we can see that the backend storage has oracle and MySQL databases (the best combination with PHP). The UDB server stores user authentication information and the AD server where the email exists, AD is very important. In addition to the proprietary database and standard database, you can also use a variety of other channels, through the partner can bring data Feeds. The intermediate cloud map is called Proxyio. to solve network communication problems, as the number of users increases and the user usage increases, a single server cannot meet the requirements. each module may run by multiple servers, the evolution of inter-Module communication at the N-M level can be effectively simplified. this is a very general picture, which does not reflect the operating system, the WEB site uses php (as the mainstream development language), and the database has MySQL (the best combination with PHP) and Oracle.

Next we can see why HP's server only writes HP, not why HP sponsored this meeting. Yahoo has thousands of servers, all of which choose different vendors, global support has become a very difficult task. everything has been verified. under a certain version, a certain model, or a certain version can run well, and the world is as unified as possible, HP servers are the most used, and Dell is also used in China.

Prior to this, the operating system had two standard operating systems, the most commonly used was BSD, which previously ran apache (the most popular WEB server platform on the Unix platform ), so far, php (as the mainstream development language) Base and Yahoo! Exts and php (as the mainstream development language) are available, y-mod is a system that prevents Yahoo's internal attacks and often works. Red is more like Linux. Yahoo's thousands of operating systems in China are switched over in one month. The core indexing devices use 64-bit machines, and the operating system is also 64-bit, the application is also 64-bit.

The difference between Yapache (the most popular WEB server platform on Unix) and apache (the most popular WEB server platform on Unix, yahoo has made some changes from the operating system to apache (the most popular WEB server platform on the Unix platform). The first is performance optimization and the second is security improvement, the third is the improvement in manageability, the rotation method has changed, and the GZIP code has changed. The last line is very helpful and can help locate the server on which the rotation is generated.

Why does Yahoo use php (as the mainstream development language )?

Yahoo has used anything before using php (as the mainstream development language). after I arrived at Yahoo, these things are already history, HF2K, CS/HDF. Pages like Yahoo's previous emails include HF2K and HTMIForm, but they all exit the historical stage first.

The presentation layer is divided into five parts: the first page framework, which contains 95% of HTML and 50% php (as the mainstream development language) to solve this problem. The display component HTML and php (as the current mainstream development language) are half-width. in the business logic part 90%, php (as the current mainstream development language) is used for business logic, php is widely used in Ceneric (as the mainstream development language), and php is mostly used in the library (as the mainstream development language ), php (as the mainstream development language) can be used as long as the performance requirements are met. If php (as the mainstream development language) cannot be used, you can use C/C ++ to compile php (as the mainstream development language) Extensions. If php (as the mainstream development language) can meet the performance requirements, the company recommends using php (as the mainstream development language) as much as possible for writing. the programming speed is relatively fast and the output is relatively high.

Back End Engineering from business logic to Back End Engineering, and Front End Eng. So Yahoo engineers are very interesting. it is still quite difficult to recruit php engineers (as the mainstream development language) in China, in particular, it is difficult to find high-quality php (as the mainstream development language) to write stable, secure, and efficient code, for Yahoo's employing methods, we recruit C ++ engineers and require C ++ programming skills. we will learn php from the company (as the mainstream development language ), more than half of Yahoo programmers will use php (as the mainstream development language), instead of going into the company, but learning at the time. Php (as the mainstream development language) is a simple language, but it cannot be written randomly. to write highly efficient and secure programs, it still requires strict logic.

In terms of databases, we talk about Oracle on the right and MySQL on the right (the best combination with PHP ). MySQL (the best combination of PHP and PHP) is widely used in Yahoo! databases. I have seen more than 90% of Yahoo products using MySQL (the best combination of PHP and MySQL ), there are only high concurrency requirements and high data security requirements. generally, it is a paid service. Once data is lost, there will be some legal disputes. in this case, Oracle will be considered, in actual development, if you want to use MySQL (the best combination with PHP) to come up with a technical solution, let's take a look at it. it's not a matter of money collection. No matter what kind of business, as long as Oracle is used, let's sit down and talk about why Oracle is selected and what kind of reasons why Oracle cannot be selected. We don't have to spend any extra money on using Oracle in all other places. the amount of money we pay for these companies a year, including the support of MySQL (the best combination of PHP and PHP), is a buyout, I can use it within the company without spending any money. when you execute it online, you will carefully review it.

Parse is honored to talk about our use of LAMP as a user today. Yahoo is a world-renowned Internet company with many products...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.