Optimizing PHP performance by using fully-qualified function calls

A fully qualified function name is a little bit faster than a non-qualified one. Toon Verwerft explains it all in his lastest blogpost. Today, a little conversation on Twitter escalated rather quickly. Apparently PHP runs function calls differently depending on namespaced or non namespaced context. When calling functions in a namespaced context, additional actions are […]

Continue reading →

Improving the performance of our PHP based crawler

Today a new major version of our homegrown crawler was released. The crawler is used to power our http-status-check, laravel-sitemap and laravel-link-checker packages. A new major feature is the greatly improved crawling speed. This was accomplished by leveraging multiple concurrent requests. Let’s take a look at the performance improvements gained by using concurrent requests. In […]

Continue reading →

Varnish explained

Varnish is a piece of software that, amongst other things, can make your website much faster. In a new post on his blog, Mattias Geniar tells you all about it. Varnish can do a lot of things, but it’s mostly known as a reverse HTTP proxy. It brands itself as an HTTP accelerator, making HTTP […]

Continue reading →

What’s in store for PHP performance?

Jani Tarvainen explains where PHP is heading performance-wise. PHP 7.0 was a leap in performance that came with very easy adoption. Simply verify compatibility with the version and upgrade your server environment. Speeding up many older architecture apps like WordPress and Mediawiki by a factor of two is a testament to backwards compatibility. In 7.1, […]

Continue reading →

Understanding generated columns

Generated columns where introduced in MySQL 5.7. In the latest post on her blog Gabriela D’Ávila explains the feature. There are two types of Generated Columns: Virtual and Stored. … Consider using virtual columns for data where changes happens in a significant number of times. The cost of a Virtual Column comes from reading a […]

Continue reading →

Anonymous classes benchmarked

Mark Baker made some fascinating benchmarks on the performance of PHP 7’s anonymous classes. A week or so ago, I published an article entitled “In Search of an Anonymous Class Factory” about my efforts at writing a “factory” for PHP7’s new Anonymous Classes (extending a named concrete base class, and assigning Traits to it dynamically); and about how I […]

Continue reading →

Linux systems performace

Brendan Gregg, a Netflix engineer, gave this talk at this years Percona Data Performance Conference. https://www.youtube.com/watch?v=CbmEDXq7es0 Freek Van der Herten Freek Van der Herten is a partner and developer at Spatie, an Antwerp based company that specializes in creating web apps with Laravel. After hours he writes about modern PHP and Laravel on this blog. When […]

Continue reading →

Enable http2 on a Forge provisioned server

Added on 2016-04-28: newly provisioned Forge servers will now use http2 by default whenever you install an ssl certifcate. Like mentioned in the post on how to upgrade PHP, I’m a big fan of Forge. By default sites provisioned by Forge use regular http. Let’s learn how to enable http2. The http2 protocol provides a […]

Continue reading →

HTTP/2 for developers

At this year’s FOSDEM Mattias Geniar explained what HTTP/2 has in store for developers: Here are the slides used in his excellent talk: https://speakerdeck.com/mattiasgeniar/2-for-php-developers Freek Van der Herten Freek Van der Herten is a partner and developer at Spatie, an Antwerp based company that specializes in creating web apps with Laravel. After hours he writes about […]

Continue reading →