ZendPlatform case _ PHP Tutorial

Source: Internet
Author: User
Tags website server
ZendPlatform case application. Platform is the enterprise PHP application Platform environment [PHPChina news] ZendPlatform is the enterprise PHP application's Run-Time Platform environment. Combining a complete set of Run-Time tools, ZendPlatfor Platform is an enterprise PHP application Platform environment.

[PHPChina news] Zend Platform is the Run-Time Platform environment for enterprise PHP applications. By combining a complete set of Run-Time tools, Zend Platform simplifies development and configuration, increases application response, and provides problems and detailed data throughout the entire development application cycle.

1.1 Product Environment

Zend Platform can be deployed on many website platforms and support many server and website publishing platforms. among them, the most widely used is the Apache Platform running Unix/Linux.

1.2 Product Features
PHP intelligence
PHP performance management
PHP configuration control
PHP/JAVA interoperability

1.3 Product Performance
Reduce production time
Low server and operation costs
Maximum use of existing investments
Improve customer satisfaction
Complete PHP ecosystem

Classic case analysis

Taking a well-known network company in China as an example, through the use of Zend Platform system before and after comparison, analysis of performance improvement, and analysis of the return on investment.

2.1 runtime environment
The well-known network company is headquartered in Beijing and has branches throughout the country, so there is a large server cluster. Among them, there are 50 servers using PHP. Here, we will analyze the 50 servers with Zend Platform installed.

Like other servers in the company, its 50 PHP servers are also distributed across the headquarters and all over the country. The Unix operating system and Apache website server used on the server.

2.2 Problems
To reduce unnecessary expenses, the network company centrally monitors, configures, and manages all its PHP servers at its headquarters in Beijing.

At the same time, the network company's original operating platform encountered the following problems due to the surge in business development:
1) the headquarters does not have an effective management method for server clusters, resulting in heavy workload and low efficiency.
2) the increase in users significantly reduces the server's response speed to access requests.
3) the download service that has the most requests to users should also handle heavy tasks on the server and frequently encounter errors.
4) it is difficult for the headquarters technical department to effectively handle server errors in different regions within a short period of time.

2.3 Application Solution
In order to achieve the goal of the network company and solve the existing problems as needed, we have combined Zend Platform and other Zend products to provide solutions for it:
1) install the Zend Platform for each of its PHP servers
2) provides the Zend studio system for the technical department of the Beijing headquarters.


After combining the Zend studio system, the Zend Platform has adopted the following methods to effectively solve the problems of the network company:
1) the monitoring function of the Zend Platform provides overall monitoring of Cluster Servers for technicians at Beijing headquarters.
2) The Zend Platform's code acceleration, dynamic cache, and file compression performance management provide the possibility of improving the server access speed
3) the download service performance management of the Zend Platform effectively shares a large amount of unnecessary consumption of Apache on the server Platform.
4) The Zend Platform, with the help of the Zend studio system, helps Beijing headquarters technical staff to handle server error events remotely in a timely and effective manner.

It shows how the Zend Platform supports servers if it works in the environment of the network company:

From the above we can see that Zend Platform not only establishes a more direct connection between the administrator and the server, but also establishes an effective access mechanism between the user and the server.

At the same time, while effectively solving customer problems, Zend Platform's Java link bridge helps the network company's PHP system achieve seamless connection with the Java Platform.

2.4 actual use

After using the Zend Platform, the monitoring function of Zend Platform allows the technical engineers of the network company to centrally manage and handle PHP servers distributed across the country. The following is an analysis of the performance improvement after use:

Worker code acceleration: without any modifications to the website program, the compiled program is saved to the memory, compiled at a time, and executed multiple times, instead of compiling before each execution, it provides the server with a running speed of more than 2.5 times.

Content caching: based on the same principle of dynamic content obtained by many requests, dynamic content is cached to improve the response speed of the same page by an average of 100 times.

Swap file compression: it compresses dynamic content before providing it to end users and saves 12% of the bandwidth.

Ghost Download server: The Smart Download Manager of Zend Platform connects to Apache/PHP seamlessly, increasing the file Download speed by 20 times.

The overview of the performance improvement section of ZendPlatform is listed. we can see that ZendPlatform has increased the overall speed of the website by a factor of 931.70.

2.5 Performance analysis

Starting from the actual use effect, we made the following analysis:

2.5 Commercial income analysis
The network company uses a permanently authorized Zend Platform for 50 servers, and based on product applications, it targets commercial investment and recovery issues, extended into a detailed business investment and recovery evaluation report. Through the business evaluation, we can clearly see that although a single investment of $224,250 can be recovered $132,788 in a year, the recovery rate is 59.21%, and the overall investment recovery is within 20 months, therefore, we can conclude that the Zend Platform investment is very valuable. at the same time, because it can effectively reduce the number of servers that need to be increased due to overload of services, its additional value is immeasurable.

In addition, through Zend Platform, our developers can also use PHP and Java, and directly access Java in your PHP script. Only one JVM is required, reduce the system resources required to take advantage of other methods. PHP/Java aggregators allow us to use and integrate the current investment in Java applications, rather than making another investment.

Case user

After long-term promotion and use, Zend Platform has stood the test of the market. At the same time, it has developed many users around the world, including many leading enterprises and industries.


Http://www.bkjia.com/PHPjc/735124.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/735124.htmlTechArticlePlatform is the enterprise PHP application Platform environment [PHPChina news] Zend Platform is the enterprise PHP application Run-Time Platform environment. Combine a complete set of Run-Time tools, Zend Platfor...

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.