PHP's application in Yahoo!

Source: Internet
Author: User
Keywords PHP's application in Yahoo!
Tags learn php php write ad server hp server

Yahoo China Technology Research and development director Tanxiaosheng speech

It is a great honor to be a user today to talk about our use of lamp. Yahoo is a world famous Internet company, the product is very many, Yahoo China is just yahoo. A sub-level of COM products, real life in North America, you can see the Yahoo website is related to all aspects of life, from the news to financial information to drive how to go, to find some local food, shopping and other information, on Yahoo's website can be done. I introduce the architecture of the Yahoo Web server. From the far left, the front end with IE or other browser up, after a standard load balancer device, may be a simple DNS device may also be a dedicated VIP device, the standard is run Apache, programming language is PHP, the following write to the memory-based database system MDBM, On the right can see the back-end storage Oracle, MySQL database, UDB server dedicated user authentication information and where the message exists where the ad server, advertising, ad is inside very important. In addition to proprietary databases and standard database access to information, data can be feeds through partners through a variety of other channels. The middle cloud is called Proxyio, in order to solve the problem of network communication, with the increasing number of users, the increase in user usage, a single server can not meet the requirements, each module may be run by more than one server, the communication evolution between modules n by m level problem, can be effectively simplified, this is a very schematic diagram, This picture does not embody the operating system, the language of the Web Station line PHP, the database has MySQL and Oracle.

The following can see the HP server, why only HP, not HP sponsored the meeting, Yahoo has a number of servers, all choose a different supplier, global support becomes very difficult thing, everything is verified, under a certain version, a model, a version can run well, The world is as unified as possible, HP servers are used the most, and Dell is being used domestically.

Before this operating system has two standard operating systems, the most used is BSD, before running Apache, above this has phpbase and Yahoo own exts and PHP language, Y mods is Yahoo internal attack prevention system, often work. Red more like Linux, Yahoo China thousands of operating systems in one months switch, the core image indexer all with 64-bit machine, the operating system is 64-bit, the application is 64-bit.

The difference between Yapache and Apache, Yahoo from the operating system started to Apache did some transformation, the first is the performance of the optimization, the second security improvement, the third is the improvement of manageability, rotation change, gzip coding has changed, the last line is very helpful, can help locate which server is generated.

Why should Yahoo use PHP?

Yahoo used before the use of anything, I went to Yahoo after these things are history, hf2k, CS/HDF. Like Yahoo's previous mail page, there are hf2k, htmiform things, but first out of the historical stage.

The presentation layer is divided into five parts, the first page frame, this part of the 95% HTML, 50% PHP to solve this problem. In the display component HTML and PHP is half, in the Business logic section 90% with PHP business logic, in Ceneric absolute PHP, in the library part of the majority with PHP, as long as the performance requirements can be used in PHP, if PHP is not dry, you can write PHP in C + + extension, If PHP in performance can be satisfied, the company recommends as much as possible in PHP write, relatively speaking, programming speed is relatively high, production is higher.

From the business logic is called back end Engineering, and part of front End Eng. So in Yahoo engineers are very interesting, in the country to recruit PHP engineers is still very difficult, especially to recruit high-quality PHP, write stable, safe and efficient code, this is still relatively hard to find, Yahoo's employing methods we recruit C + + engineers, require C + + programming skills, to the company to learn PHP, Yahoo programmers more than half will PHP, not into the company will be, but to learn when. PHP is a simple language, but simple does not mean that it can be written at random, really want to write an efficient and secure program, or need very strict logic.

On the database side, the right side speaks of Oracle, and the right side is MySQL. MySQL in Yahoo in a large number of databases, in I have seen Yahoo products inside more than 90% with MySQL, only the concurrency requirements are particularly high, the data security requirements are particularly high, is generally charged services, once the data is lost there will be some legal disputes, in this case will consider the use of Oracle, In the actual development inside, if said to come up with a technical solution to use MySQL, a simple look, not related to collect money this business, it is over. No matter what kind of business, as long as the use of Oracle, we sit down to talk about why the choice of Oracle, there is no need to choose the reason for Oracle. We in all other places, the use of Oracle does not need extra money, how much money a year to these companies, including MySQL support, are buyout, I can use within the company, do not spend money, the online implementation of the time will be carefully audited.

What is the use of PHP in Web search? Yahoo. COM a search including the home page, related pages and the end page are PHP, run in Apache. Yahoo in the end how much is the use of Linux operating system, take Yahoo China's actual number of non-Linux operating system of the machine, less than 1%, and in the actual work, Windows placed in different network segments, this has very strict rules.

Yahoo in the work of lamp. Yahoo to participate in the Apache Distributed data processing work, if you have knowledge of DFS, do distributed data processing, Yahoo China in the past is more technology users, including Yahoo. COM produced yahoo China in use, Yahoo China has five engineers involved, next year to invest more manpower. We encourage our employees to participate in such activities, and the company provides them with such support.

Thank you all!

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.