Working with Zend Controller

Initial Setup

The following procedure describes how to configure the Zend Controller's settings to communicate with Zend Server. This procedure should be completed before using the Zend Controller.

 

 

Instructions on how to complete a procedure

To Set up the Zend Controller:

  1. Open the Zend Controller menu (right-click in Windows or Unix, Ctrl-Click in Mac).
  2. In the Zend Controller's menu, click to open the Settings dialog.
  3. Make sure the following settings are correct:
  • Hostname - unique name or IP number of the server on which Zend Server is running. Can be a remote server on the same LAN.
  • Port - The default ports are:
    - Windows
    : 80 for HTTP
    - Unix
    : 10081 for HTTP and 10082 for HTTPS
    If  you changed the port of the Web server that runs Zend Server during the installation, change this value too.
  • Password - The password is automatically configured when you set your Administration Interface password.
  • Connection Scheme - Your preferred method of connecting the Control Panel with Zend Server for communication purposes, where HTTPS is a secured connection protocol.

Zend Controller Settings

Once the Zend Controller is properly configured, you can use it to change the status of the following components; Data Cache, Debugger, Optimizer+ and Java Bridge. You can also access the Administration Interface directly by clicking one of the following Zend Controller buttons: Configure Zend Debugger, Zend Extension Configuration and PHP Info.

Other Zend Controller features include Multi-Source search and Benchmarking.

Using the Zend Controller Benchmark Tool

The Zend Controller Benchmark tool is a simple benchmark that developers can use to run performance tests on the URLs (Web pages) they develop. The main purpose of this tool is to identify the performance gain that is achieved when using Zend Server's Optimizer+ and Data Caching components. This can be done by turning the different Zend Server components on and off and running the benchmark.

The Zend Controller Benchmark tool does not replace standard benchmarking utilities. It is intended to provide a quick and easy way to measure performance without having to run elaborate and resource-expensive performance tests.

How it Works

The Benchmark tool checks HTTP request response times and lists them in a bar chart that displays when the test was started and the average amount of 'requests per second' received for the duration of the test (user defined, in seconds). These tests can be run once, without one of the performance-related components (Data Cache and Optimizer+), and then again (with each or all components turned on) to see the effect each component has on performance.

Before running a test, make sure the URL you enter is the exact URL and does not rely on redirection: Using a redirecting URL causes the test to fail.

 

 

Instructions on how to complete a procedure

To run a Benchmark:

  1. Open the Zend Controller

  2. In the Benchmark section, enter a URL.

  3. In the Duration section, define the amount of seconds to run the test.
    If you are comparing how different Zend Server components affect performance, make sure you run the tests at approximately the same time, to avoid large fluctuations in traffic volume and ensure that the traffic conditions are similar for each test.

  4. Click Go to start running the test.
    Clicking Abort terminates the test without collecting test information.

The results are displayed in a bar chart. The Benchmark tool displays up to five test results. If there are more than five results, the tool displays the five most recent results.

Understanding Results

Once you have the results, the most important consideration is to determine what constitutes a good value.

Understanding Results

When testing the effect Zend Server components have on performance, the more requests per second, the faster the code.

Another consideration is the size of the page: Large pages take longer to load and should be checked during both high and low traffic to determine if the page is performing well.

 

 

Related Links

Related Links:

Zend Controller - Administration Interface

Zend Controller - Component