Forest header image

Symfony Finland
Random things on PHP, Symfony and web development

Overview for php-fpm

Symfony Benchmarks: Scaling PHP by adding CPU & RAM

In the previous article in this series we took a look at how different runtimes affect Symfony performance, by comparing PHP 5.6, HHVM 3.11 and PHP 7.0.1. The conclusion was that both HHVM and PHP 7 offer significant improvements in performance without adding server resources. In this article we'll look at how adding them affects performance.

Written by Jani Tarvainen on Friday January 1, 2016
Permalink - Tags: php, php-fpm, ram, cpu, core, scaling, benchmark

How to expose your Routes and Translations to your Front End JavaScript in Symfony

As more and more processing is moving over to the client side you're more likely than ever to need to expose your back end resources via an API. The top of mind is application data, but you'll likely need to get endpoint URLs and translations as well. Or maybe you don't, but you should - manual maintenance is laboursome and error prone.

Written by Jani Tarvainen on Thursday July 2, 2015
Permalink - Tags: symfony, php, javascript, api, i18n, l10n, php-fpm, ezplatform

Serving PHP on HTTP/2 with H2O and HHVM (Symfony, WordPress, Drupal...)

HTTP/2 as a protocol was locked down in February 2015 and published in the May of same year. It's the first major revamp of the most important (IMHO) protocol since 1999. It's no silver bullet, but the upgrade offers improvements that will make a big difference when applied in scale. Help save the planet (yes, really) and start deploying today!

Written by Jani Tarvainen on Monday June 22, 2015
Permalink - Tags: http, web, wordpress, drupal, php, http2, symfony, hhvm, php-fpm, h2o, nginx, apache