Archive for the ‘memory’ Category

PHP-FPM tuning: Using ‘pm static’ for Max Performance

Posted on: No Comments
Let's take a very quick look at how best to set up 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 advi...

Memory Performance Boosts with Generators and Nikic/Iter

Posted on: No Comments
Arrays, and by extension iteration, are fundamental parts to any application. And like the complexity of our applications, how we use them should evolve as we gain access to new tools. New tools, like generators, for instance. First came arrays. Then w...