Free Newsletters
InfoWorld Daily

InfoWorld
Log-in | Register

Enterprise monitoring comes to PHP

Zend Platform sheds much-needed light on PHP performance

By Peter Wayner
July 04, 2005
 

During the past few years, PHP has grown to be more than just a simple tag-centered scripting language for neophyte Web designers who want to do a bit of programming. A quick survey of the breadth and depth of the open source projects using the language shows that people can and will build enterprise-grade applications with the embedded tags. Now Zend Technologies, the company steering the language, is rolling out more tools to support the enterprise-grade servers that run these more serious applications.

Free IT resource

Open Source Business Conference (OSBC) May 22-23, 2007

Sponsored by OSBC

Free IT resource

Virtualization Insights from Top Experts - Learn how virtualization gets real!

Sponsored by Dell



Zend Platform 1.1

Zend Technologies, zend.com

Very Good  8.3
criteria score weight
Management 8 20%
Monitoring 9 20%
Reporting 8 20%
Scalability 8 20%
Setup 9 10%
Value 8 10%

Cost:
One CPU per year, $999; two or more CPUs per year, $1,495

Platforms:
Server: Linux, Mac OS X, Solaris 6, FreeBSD 4, 5.0-5.2 running Apache 1.3, Apache 2.0, Zeus; client: IE 5.5, Netscape 7, Mozilla 1.7, Firefox

Bottom Line:
Zend Platform is a well-designed package that helps manage a PHP installation by flagging and debugging problem pages. It can also accelerate the server using selective compilation and caching. Flexible alert criteria allow you to detect a wide range of problems, including the slow execution of a page or function. Deeper diagnostics and more run-time profiling would be nice additions.

About our Reviews and Scoring Methodology

The latest offering, Zend Platform, brings sophisticated monitoring to system administrators who want to ensure that all clients get their data. The tool tracks the performance of all scripts and integrates with Zend's accelerator to offer faster performance through script compilation and caching. If the server fails to provide the right level of service, the tool can fire up Zend's development studio for direct debugging.

The Platform begins at a subscription of $995 for one year. Zend continues to distribute the basic PHP toolkit for free as an open source package that is practically bundled with the omnipresent Apache, a tie-in that encourages people to experiment with the language. The fees from add-on products such as the Zend Platform support the general development of the language, a process that is adding more sophisticated object-oriented features and making PHP more and more like JavaServer Pages.

I tested the system by installing it on a Macintosh running several of the common PHP applications such as PHP-Nuke on the built-in version of PHP. The process couldn't have been simpler. After unpacking the system and running the installer scripts, the Zend Platform started tracking all pages served by the system. There was no recompilation of the scripts or reintegration. It just started working, and the information was immediately available through the Web server.

It was a bit harder to get the Platform to communicate with the debugger in the Zend Development Environment, but I was able to solve it with some help from Zend. The debugger software was well-designed with some nice tools for testing these connections when specified, but the tools for connecting the Platform with the IDE were not always sufficient.

The pulse of PHP

The first thing a user sees when firing up Zend Platform is a dashboard that lists scripts that are not performing quickly. The five worst offenders are listed with a graph highlighting the overall response time of the server. If you want to understand what is going wrong, you can click on one of these scripts and a page opens with all the information that triggers the call. You can look at any cookies, parameters, or files in the HTTP request that were causing the trouble.

If you want to watch what happens when the server handles a troublesome HTTP request, you can either send it directly to the server again or pass it to the Zend Development Environment, an IDE with a built-in debugger and profiler sold separately. Both techniques can pinpoint slow scripts or problems with a Web site.

The Zend Platform covers a wide range of problems, and it includes a good, basic mechanism for programming alerts when trouble arises. It sends e-mail to an address or posts a report to a URL when it identifies a slow script, an error, or a high load on a server. Alerts can even be triggered by the slow execution of a particular PHP function, something that allows you to pinpoint sluggish parts of the system such as databases.

Zend's monitoring is good, but it could be deeper. You can identify problem scripts, but it's not simple to dig through all the instances that are causing trouble. You can get the cookies and parameters from the latest HTTP request to trigger an alert, but you can't dig through the cookies and parameters that caused an earlier occurrence. A deeper display with the parameters that trigger all slow pages would be nice.

It might be even nicer to have more run-time profiling. Although you can re-execute the problematic HTTP request in the development studio, it's not the same as getting profiling information when the problem occurs. Intermittent problems such as overloaded databases are usually fine when you return to resimulate the problem. Some of the most sophisticated Java survey tools offer this feature, albeit at a significantly higher price.

PHP turns pro

Monitoring is only one of the jobs of Zend Platform, a cornucopia sort of tool for the various enhancements that Zend sells. If you want to optimize the performance of Web pages and track the effect the optimizer has on performance, you can click through to a page that summarizes the speed gains from compiling or caching a script. My numbers seemed to range between zero and 50 percent, and the overall gain the system calculated was 24 percent. If necessary, you can turn compiling and caching off, although I can't think of many practical reasons to do this.

The Platform also includes the Java Bridge, a tool for speeding up the integration of PHP with Java. The system fires up one JVM and leaves it running so each PHP script won't need to wait for a JVM to start up.

The Zend Platform will certainly be a big leap forward for PHP designers. The serious enterprise developers have always clustered around Java. As a result, the tools available for Java have always been stronger and more sophisticated. Zend's instrumentation will give PHP developers a much-needed way to catch up. It offers a good start at supporting a serious enterprise operation built around PHP.





 


 
InfoWorld Test Center Contributing Editor Peter Wayner is the author of thirteen books, including Translucent Databases and Policing Online Games.
 

TOP NEWS:


»  Four quick tips for choosing an IM security product
71 percent of businesses will invest in real-time messaging this year. If you're one of them, be sure to protect your enterprise

»  Forrester analysts ID hot IT jobs
Research group finds 16 IT roles with a promising future

»  Nvidia claims 10 hours of HD video on Tegra chip
The Tegra 600 and 650 can be used with hard disk drives and are designed partly for mobile Internet devices

»  Database vendors add Google's MapReduce
Greenplum and Aster Data Systems will support Google's programming technique, developed for parallel processing of large data sets across commodity hardware

»  Network management: Tips for managing costs
New technologies, changing requirements, and ongoing equipment maintenance and upgrades cost money, but there are ways to manage expenses

»  EMC targets SMBs, branch offices with new low-end storage
Celerra NX4 highlights include thin provisioning, snapshot technology for data recovery and backups, and Web-based console for management of storage volumes




FIVE WAYS TO REDUCE IT COSTS IN 2009
The demands on IT have never been greater, particularly in light of lower revenue and uncertain demand for the goods and services. There are many ways that IT can help organizations adjust to this new economic environment. Learn about five key technology trends that can immediately impact your organization's bottom line, and how to build a strategy to implement these technologies within your current budget. Sponsored by: Riverbed

»  Click here to view this Webcast
  Enterprise Data Security Solutions Guide
Data security used to be about outside threats. These days the biggest challenge for data-driven organizations is the management of secure information from the inside out. Data is available on laptops, your network and even USB devices, but not always secure. Read this Solutions Guide to learn the best ways to keep it safe. Sponsored by ISC2

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 

FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2009, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist
TecChannel :: TecCommunity