Search results: php performance

Monitoring PHP Performance and Diagnosing Bottlenecks

Last week, we took a quick look at PHP-FPM, reducing process manager (PM) overhead and maxing out PHP-FPM’s throughput by attempting to keep processes in-memory using pm.static. However, beyond development server benchmarks, on our production servers, we also want to drill down into all services and components called up by each user’s interaction. This allows us the opportunity to diagnose PHP and other […]

PHP performance: oPcache Control Panels

OPcache is a PHP extension which improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request. The extension is built-in for PHP 5.5+ …but, if you are looking to improve PHP performance, the first step should be to use PHP 7+ which […]

PHP Performance: Additional CPU cores vs faster CPU cores

  Just over a week ago I received a contact form email detailing slow performance issues with a LAMP (Linux, Apache MySQL, PHP) web server. During the audit phase, I found that the server’s load average was pretty idle. However, the website was indeed very slow. Among a slew of other issues and misconfigurations, one aspect […]

PHP-FPM tuning: Using ‘pm static’ for max performance

Lets take a very quick look at how best to setup PHP-FPM for high throughput, low latency and a more stable use of CPU and memory. By default, most setups have PHP-FPM’s PM (process manager) string set to dynamic and there’s also the common advice to use ondemand if you suffer from available memory issues. However, lets compare the two management […]

PHP Benchmarks: OPcache vs OPcache w/ Performance Tweaks

A few weeks ago I wrote a short article which highlighted GUI solutions for monitoring and controlling PHP OPcache. We all know that enabling PHP OPcache provides massive performances gains (see benchmark graph at the end of article). In addition, since PHP 5.5, OPcache is now enabled by default. With these facts in mind, is it possible […]

100 Server and Application Performance Monitoring Tools

Last Updated: November 29th 2018 – Site24x7 replaces Coscale. Coscale was recently acquired by New Relic.  Oct 11th 2018 update: 100+ – Fixed 11 broken links. (including defunct, mergers, acquisitions, or changed links) December 1st 2017 update: 70 100 Top Server Monitoring & Application Performance Monitoring Tools. August 6th 2017 update: 50 70 Top Server Monitoring & Application Performance Monitoring Tools. Back in 2014, I […]

20 Top Server Monitoring & Application Performance Monitoring Solutions

UPDATE: 50 Top Server Monitoring & Application Performance Monitoring (APM) Solutions Last Updated: Nov 23th 2018 – Fixed broken links. (including defunct, mergers, acquisitions, or changed links) Back in September I wrote about an article than touched on the subject of server performance monitoring.  Then just last month a LinkedIn connection asked: “I am using New Relic to monitor […]

MySQL Query Cache for Performance, Avoid This When Tuning

Update: MySQL query cache is deprecated as of MySQL 5.7.20, and is removed in MySQL 8.0. – mysql.com One of the most misconfigured MySQL performance features, is MySQL query_cache_size. This post references a web server with 32 gigabytes of RAM where the existing config had MySQL’s query cache size set incorrectly to 4 gigabytes. The thought behind it seemed […]

Linux server performance: Is disk I/O slowing your application?

This post is sponsored by Instrumental – hosted application and server monitoring with free development accounts. If your Linux server is bogged down, your first step is often to use the TOP command in terminal to check load averages and wisely so. However, there are times when TOP shows very high load averages even with low cpu ‘us’ (user) and high […]

PHP 5.6 EOL (End of Life) – PHP 7 Compatibility Check

Summary: PHP 7.3 benchmark, how to check your PHP scripts/apps for PHP 7 compatibility, upgrade to PHP 7 ASAP, confirm OpCache is enabled/monitored and some php.ini optimization tweaks.   PHP 5.6 and PHP 7.0 hits EOL this year! (2018) PHP 5.6 was first released back in 2014, with alpha 1 released in January 2014. Due to major performance […]