Php in yahoo! Application-php Tutorial

Source: Internet
Author: User
Tan Xiaosheng, director of Yahoo China technology R & D department, gave a speech & nbsp; 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, find some local food and beverage, shopping, and other information. on Yahoo's website, you can get a speech from 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 Apache, and the programming language is php. the following code is written to the MDBM system based on the memory database. on the right side, we can see that the backend storage includes Oracle and MySQL databases, the UDB server stores user authentication information and where the email exists. AD is very important for advertising. 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 Station language is PHP, databases include MySQL 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. Apache was run before, and PHPBase and Yahoo! Exts and PHP languages are now 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 and Apache is that Yahoo has made some modifications from the operating system to Apache. The first is performance optimization, the second is security improvement, and the third is manageability improvement, the rotation method has changed, and the GZIP encoding 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?

Yahoo has used anything before using PHP. 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 to solve this problem. The HTML and PHP components are displayed in half. in the business logic section 90%, PHP is used for business logic. in Ceneric, PHP is used for, and most PHP is used for the library, PHP can be used as long as the performance requirements are met. If PHP cannot do it, you can use C/C ++ to write PHP Extensions. If PHP can meet the performance requirements, we recommend that you use PHP as much as possible. 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 quite difficult to recruit PHP engineers in China. in particular, they need to recruit high-quality PHP engineers to write stable, secure, and efficient code, this is still hard to find. we recruit C ++ engineers for Yahoo's employing methods, and require C ++ programming skills. to study PHP again at the company, more than half of Yahoo programmers will talk about PHP, I will not study it after I enter the company, but when I go. PHP is a simple language, but it cannot be written randomly. to write highly efficient and secure programs, strict logic is required.

In terms of databases, Oracle is on the right and MySQL is on the right. MySQL uses a large number of databases in Yahoo. I have seen more than 90% of Yahoo products use MySQL. it only requires a high degree of concurrency and a high requirement on data security. In general, it is a paid service, once data is lost, there may be some legal disputes. in this case, Oracle will be considered. in actual development, if you come up with a technical solution to use MySQL, let's take a look, it's not about 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 need to spend any extra money to use Oracle in all other places. the amount of money we pay for these companies in one year, including MySQL support, is out of order and can be used within the company, you don't have to spend any money. you will perform a serious review during online execution.

What is the use of PHP in Web search. A yahoo. COM search includes the home page, related pages, and end pages, all of which are PHP and run on Apache. Yahoo uses the Linux operating system in most cases. it takes less than 1% of the actual numbers in Yahoo China to use non-Linux operating systems. in actual work, windows is placed in different CIDR blocks, which are strictly regulated.

Yahoo works in LAMP. Yahoo! participates in Apache distributed data processing. if you know DFS, Yahoo China has been a technical user in the past, including Yahoo. COM was used to generate Yahoo China. Yahoo China has five engineers involved, and more manpower will be invested next year. We encourage employees to participate in such activities, and the company also provides them with such support.

Thank you!

Http://www.phpchina.com/viewnews_2295.html

Related Article

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.