Testing compression

After the changes, restart the web server (Apache, Nginx, or lighttpd) and check the logs for errors.

In a basic test with compression modules, we're able to identify that we have a considerable gain in file size. The following table shows the level of compression and page load times (tr_staus.php is the page that shows the status of the triggers) on a virtual server with 500 active triggers:

Compression modules

Apache without mod_deflate

Nginx without gzip

lighttpd without mod_compress

Apache with mod_deflate

Nginx with gzip

lighttpd with mod_compress

Size

1.2 MB

1.2 MB

1.2 MB

51.5 KB

51.5 KB

51.5 KB

Time

~5 sec

~6 sec

~6 sec

~5 sec

~3 sec

~4 sec

Of course, the tests may have different results with different ...

Get Zabbix Performance Tuning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.