Home > Backend Development > PHP Tutorial > Zend Platform Case Application_PHP Tutorial

Zend Platform Case Application_PHP Tutorial

WBOY
Release: 2016-07-13 10:38:10
Original
876 people have browsed it

 Platform 是企业级PHP应用平台环境 

    【PHPChina讯】Zend Platform 是企业级PHP应用的Run-Time平台环境。将一套完整的Run-Time工具组合起来,Zend Platform简化开发和配置,增加应用响应,提供在整个开发应用周期中发生的问题及详细数据。

    1.1 产品使用环境  

    Zend Platform 可以应在众多的网站平台上,可以支持众多的服务器和网站发布平台,其中,应用最多的是运行的Unix/Linux的Apache平台。
    

    1.2 产品功能介绍
    PHP智能
    PHP性能管理
    PHP配置控制
    PHP/JAVA 互用性

    1.3 产品性能介绍
    降低生产时间
    较低服务器与运行成本
    最大利用现有的投资
    提高客户的满意度
    完整的PHP生态系统

    经典案例分析

    以国内某知名网络公司为例,通过使用Zend Platform 系统的前后对比,分析性能的提高幅度,并分析投资回报率。

    2.1 运行环境
    该知名网络公司总部在北京,在全国各地设有分支机构,所以存在着一个庞大的服务器集群。其中,使用PHP的服务器有50台。在此,我们就该50台安装了Zend Platform的服务器进行分析。

    与公司其它服务器一样,其50台PHP服务器亦分散在总部与全国各地。服务器上使用的Unix操作系统和Apache网站服务器。

Zend Platform Case Application_PHP Tutorial

    2.2 存在的问题
    为了减少不必要的开支,该网络公司在北京总部统一监控、配置和管理其所有的PHP服务器。

    同时,该网络公司原运行平台由于业务发展的激增出现了以下几个问题:
    1)总部对服务器的集群没有有效的管理方法,导致工作量繁重且效率低。
    2)用户的增加使服务器对访问的应答速度明显降低。
    3)对用户反问请求最多的下载业务也应为服务器处理任务繁重而频频出现错误。
    4)总部技术部难以在较短时间内对各地的服务器出错做出有效的处理。

Zend Platform Case Application_PHP Tutorial

    2.3 应用方案
    为了实现该网络公司的目标,应其需求解决存在的问题,我们结合了Zend Platform和Zend其它产品为其做了解决方案的建议:
    1)为其各PHP服务器安装了Zend Platform平台
    2)为北京总部的技术部提供Zend studio 系统。


    在结合了Zend studio 系统后,Zend Platform平台为有效地解决该网络公司的问题,通过了以下几种途径:
    1)Zend Platform平台的监控功能为北京总部的技术人员提供集群服务器的整体监控。
    2)Zend Platform平台的代码加速、动态缓存和文件压缩的性能管理为提高服务器的访问速度提供可能
    3)Zend Platform平台的下载服务性能管理有效地分担了服务器平台的Apache的大量不必要的消耗。
    4)Zend Platform平台在Zend studio 系统的配合下帮助北京总部的技术人员通过远程对服务器的错误事件进行及时、有效的处理。

    下图集中体现了Zend Platform平台是如果在该网络公司的环境中工作,并如何支持服务器:

Zend Platform Case Application_PHP Tutorial

     从上面的示意图我们可以看到,Zend Platform 既在管理人员和服务器之间建立了更为直接的联系,又在用户与服务器之间建立的有效的访问机制。

    同时,在有效地解决客户存在的问题同时,Zend Platform 的Java 链接桥帮助该网络公司的PHP系统实现与Java平台的无缝链接。

    2.4 实际使用效果

After using the Zend Platform, through the monitoring function of the Zend Platform, the network company's technical engineers can conduct unified management and error handling of PHP servers scattered across the country. The following is an analysis of the specific improved performance after use:

 Code acceleration: Without any modification to the website program, the compiled program is temporarily stored in the memory, compiled once, and executed multiple times, instead of compiling before each execution. The server provides more than 2.5 times faster operation speed.

Content caching: Based on the same principle of dynamic content obtained from many requests, caching dynamic content can improve the response speed of the same page by an average of 100 times.

 File compression: Compress dynamic content before providing it to end users, saving 12% of bandwidth.

 Download server: Zend Platform’s smart Download manager seamlessly connects to Apache/PHP, thereby increasing file download speeds by 20 times.

Zend Platform Case Application_PHP Tutorial

The above figure lists an overview of the performance improvement part of ZendPlatform. We can see that the maximum value that ZendPlatform can improve the overall speed of the website reaches a multiple of 931.70.

2.5 Effect Analysis

Starting from the actual use effect, we have done the following analysis:

Zend Platform Case Application_PHP Tutorial

2.5 Business Benefit Analysis
The network company uses the permanently authorized Zend Platform for 50 servers, and based on the product application, it is extended into a detailed analysis on commercial investment and recycling issues Business input and recovery assessment report. Through business evaluation, we can clearly see that although the one-time investment is $224,250, $132,788 can be recovered within one year, with a recovery rate of 59.21%, and the overall investment recovery is 20 months. Therefore, we can conclude that the investment in Zend Platform is very valuable At the same time, because it can effectively reduce the number of servers that need to be added to serve overloaded servers, its added value is immeasurable.

In addition, through Zend Platform, our developers can also make PHP and Java interoperable, and can directly access Java in your PHP script, only one JVM is needed, reducing the system resources required to use other methods. The PHP/Java combinator allows us to reuse and integrate existing investments in Java applications without having to reinvest.

Case User

Zend Platform has withstood the test of the market after long-term promotion and user use. At the same time, it has developed many users around the world, including many leading companies in the industry.

 Zend Platform Case Application_PHP Tutorial

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/735124.htmlTechArticlePlatform is an enterprise-level PHP application platform environment [PHPChina News] Zend Platform is a run-time platform for enterprise-level PHP applications environment. Putting together a complete set of run-time tools, Zend Platfor...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template