Making your Frontend Faster

A simple way to make your Zabbix Frontend faster is install a PHP cache on WebServer, and to do it I recommend eAccelerator:

eAccelerator is a free open-source PHP accelerator & optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

For complete documentation and information, please visit http://eaccelerator.net/

Installation Tips

  1. Don’t forget to restart the WebServer daemon (eg. Apache)
  2. Source installation requires phpize utility, you can find it on php-devel package
  3. Make sure that it’s all fine looking for eAccelerator information on a phpinfo() page

GZip Compression

Many pages on Zabbix outputs very large HTML content, using gzip compression (mod_deflate) is possible to reduce the network traffic significantly. On a simple test I reduced my Overview from 23k to 4k.

This is a cookbook configuration for Apache 2.2:

Benchmark Tests using AB (Apache Benchmark)

  • with eAccelerator

  • without eAccelerator



2 Responses to “ “Making your Frontend Faster”

  1. Andy says:

    Very nice idea – I never thought to try get zabbix web interface to cache :)

  2. lcondado says:

    APC 3.0.19 is bundled within webstack 1,6

    http://www.php.net/manual/en/book.apc.php

    Regards.

Leave a Reply

*