MySQL Enterprise Solutions phần 4

khoảng 2-3K và hiệu quả hợp lý mã PHP.) Một số tiêu chuẩn cho thấy rằng trên một hệ thống quad, Microsoft IIS chạy trên Windows sẽ làm tốt hơn Apache chạy trên Linux dưới tải cao về nội dung HTML tĩnh. Tuy nhiên, thông tin này có thể sẽ không ảnh hưởng đến một hệ thống MySQL kiến trúc sư có kinh nghiệm Web, vì những lý do sau đây: | D06 MySQL Client in a Web Environment of approximately 2-3K and reasonably efficient PHP code. Some benchmarks show that on a quad system Microsoft IIS running on Windows will outperform Apache running on Linux under high load on static HTML content. However this information probably won t influence an experienced MySQL Web system architect for the following reasons Because much of the content is dynamic static content performance is not as significant in the decision. As far as dynamic content is concerned PHP has a reputation of outperforming ASP. Although it is difficult to come up with a fair benchmark for two different languages many users claim a tenfold increase in performance after converting their ASP applications to PHP. It is more cost-effective to scale Web performance by creating a Web server farm of uniprocessor or dual-processor systems than to buy quad servers. The lack of license fees becomes an important cost factor when you re building a Web server farm a common practice on high-load Web sites . PHP can connect to MySQL using a native interface whereas ASP must go through the ODBC layer. Of course you can choose from a number of other Web servers such as Netscape Enterprise Roxen WebSphere and iPlanet. MySQL applications will run on those Web servers. However our focus will be on Apache because it is the most commonly chosen Web server. Server-Application Integration Methods A Web application can interface with a Web server in two primary ways through CGI Common Gateway Interface or through an internal scripting language or precompiled modules if the Web server supports those functionalities . In the CGI model the Web application is a stand-alone executable that reads its input from the standard input stream and writes its output to the standard output stream according to a special protocol understood by the Web server. All the application has to do is follow a simple protocol. It can be written in any language and will work with most Web servers

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
100    352    2    14-05-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.