PHP's application _php tutorial in Yahoo!

Source: Internet
Author: User
Tags 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 the world's 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 balancing device, may be a simple DNS device may also be a dedicated VIP device, the standard is to run Apache (Unix platform The most popular Web server platform), programming language is PHP ( As the current mainstream development language), the following write to the system based on the memory database mdbm, the right side can see the back end storage has Oracle, MySQL (and PHP collocation of the best combination) database, UDB server dedicated to the user's authentication information and where the message exists Ad server, advertising, Ad is very important inside. 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 (as the mainstream development language now), the database has MySQL (and PHP collocation of the best combination) 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.

Prior to this, the operating system has two standard operating systems, the most used BSD, before running Apache (Unix platform The most popular Web server platform), on top of PHP (as the current mainstream development language) base and Yahoo own exts and PHP ( As the language of the current mainstream development language, Y mods is a system of Yahoo's internal attack prevention that often works. 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 (the most popular Web server platform on UNIX platforms) and Apache (the most popular Web server platform on UNIX platforms) has been transformed from operating systems to Apache (the most popular Web server platform for UNIX platforms). The first is the performance optimization, the second security improvement, the third is the improvement of manageability, the rotation change, the gzip code changes, the last line is very helpful to help locate which server to generate.

Why should Yahoo use PHP (as the current mainstream development language)?

Yahoo is using PHP (as the mainstream development language) 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 (as the current mainstream development language) to solve this problem. In the display component HTML and PHP (as the current mainstream development language) is half, in the Business logic section 90% with PHP (as the current mainstream development language) to do business logic, in ceneric absolute use of PHP (as the current mainstream development language), in the library part of the majority with PHP ( As the current mainstream development language), as long as the performance requirements can be used in PHP (as the mainstream development of the current language), if PHP (as the mainstream development language now) can not be done, in C/D + + to write PHP (as the current mainstream development language) extension, if you say PHP ( As the current mainstream development language) in terms of performance can be satisfied, the company recommended as far as possible with PHP (as the current mainstream development language) write, relatively speaking, programming speed relatively fast, high yield.

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 (as the current mainstream development language) engineers still very difficult, especially to recruit high-quality PHP (as the current mainstream development language), write stable, safe and efficient code, which is still relatively hard to find, Yahoo's employing methods we recruit C + + Engineers, required to have C + + programming skills, to the company to learn PHP (as the mainstream development language now), Yahoo programmers more than half will PHP (as the mainstream development language now), not into the company will be, but to the time to learn. PHP (as the current mainstream development language) is a simple language, but simple does not mean that can be arbitrarily written, really want to write an efficient and secure program, or need very strict logic.

On the database side, Oracle is on the right, and MySQL (the best combination of PHP collocation) is on the right. MySQL (and PHP collocation of the best combination) in a large number of Yahoo database, I have seen Yahoo products inside more than 90% with MySQL (and PHP collocation of the best combination), only the concurrency requirements are particularly high, the data security requirements are particularly high, in general, the fee-based 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, if you come up with a technical solution to use MySQL (and PHP collocation of the best combination), simply 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 are in all other places, using Oracle does not need extra money, how much money a year to pay for these companies, including MySQL (and the best combination of PHP) support, are buyout, I can use within the company, do not spend money, everyone online execution will be carefully audited.

http://www.bkjia.com/PHPjc/509101.html www.bkjia.com true http://www.bkjia.com/PHPjc/509101.html techarticle Yahoo China Technology Research and Development Director Tanxiaosheng Speech is very honored to be a user today to talk about our use of lamp. Yahoo is the world's famous Internet company, the product is very many ...

  • 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.