Linux and PHP web application support and development (Bromsgrove, UK)

tel: 0845 0046746

performance

Disk I/O performance on a Proliant + SmartArray server

Some time ago, we upgraded a customer’s Debian Lenny Linux server from running a 2.6.26 based kernel to use a 3.2 kernel. It hosts a relatively popular website, and the performance optimisations in the 3.2 kernel (particularly around TCP slow start) have made a big difference to page load times (for more information see this […]

, , , ,

Read more...

Improving site performance using asynchronous database writes and memcache in PHP

Web applications often have a requirement to log information about a request to a database. In a contrived example this could just be a global counter which attempts to amaze visitors to your site about how many requests you’ve handled in the last hour/day/week/month. One approach to doing this is to update a database each […]

, , , ,

Read more...

Faster is better – rethinking SQL queries to improve API response times

At the moment we’re redeveloping an existing JSON based API, which is used by a mobile application. We knew the performance of the previous release of the API was good – it’s been in use for the last two years without any problems, and easily outperforms a competitor’s API. However, our dataset size is due […]

, , ,

Read more...

Varnish for WordPress Performance

How to improve WordPress/Apache performance on a relatively heavily loaded server using Varnish and more

, ,

Read more...

WordPress Performance Case Study

Background A WordPress site we maintain had one page (warning: some of the pages/images may offend) displaying a large number of posts (they all happen to be galleries) using the nextgen-gallery plugin. The Problem The page in question, on each load, would perform a query on posts within a specified category, and display them inline. […]

, , , ,

Read more...

Performance enhancements for a bespoke PHP ecommerce store

Introduction Not so long ago, a customer was using an bespoke online store for selling clothing. For 99% of the year, the site would perform perfectly (fast page loading times and so on) – however at the start of a sales promotion, the site would collapse due to a huge spike in requests from potential […]

, ,

Read more...