We have a set of PHPUnit tests running against a Propel/PDO application. Recently, with a recent increase in the number of tests, we’ve found that we’ve been hitting MySQL’s max_connections or max_user_connections limit (see /etc/mysql/my.cnf on the MySQL server).
Historically we had a ‘normal’ pxe boot server in the office (DHCP server points to a TFTP server and specified a pxelinux file to load) from which we could choose to install various distributions. The only problem with this is that it was initially limited to the a specific release/version of Debian/Ubuntu (as we’d just […]
Today we received an email along the lines of : “Help! A customer’s website is slow and they’re complaining it’s taking over 2 seconds to load!”
Using something like munin it’s trivial to create a graph plotting trends – and assists in answering questions like : Why is the website on server X feeling slow today? Are we receiving significantly more hits/email/whatever than normal? How effective is the new mail server? When are we likely to run out of disk space? […]
The PHPNE 2014 conference is almost upon us (March 18th). See their website for more details. The schedule looks awesome – I wish I could make it. As mentioned before, Pale Purple has helped by sponsoring the event – and we’re listed on http://conference.phpne.org.uk/sponsors.html (Perhaps we should add a listing of conferences we’ve sponsored […]
To help aid security for SSH connections, you can publish ‘SSHFP’ records in DNS which contain a fingerprint of a server’s ssh host key. If DNSSEC is in use throughout the DNS hierarchy then it ought to provide a trusted way of verifying remote hosts when no record already exists in your ~/.ssh/known_hosts file. To […]
Interestingly, we seem to be the fish swimming against the current – and today ported a ‘watch’ sized mobile app to work on on a phone sized (Android) device. The original app was designed for Android 1.6 (ImWatch) – and after about 5 minutes tinkering we were left wondering what to do with the extra […]
PHP 5.6 is almost here (we hope) – so we’ve had a look at some of the upcoming changes, and here are the ones of most interest to us. In a nutshell – variadics & splat, constant scalar expressions and ArrayOf type hinting ….
We’ve been rummaging through a few REST APIs recently – trying to integrate and match up data from various providers with the aim of improving the overall experience on a website (and accompanying mobile apps) and the quality of search results. Here are some findings from using the FourSquare API – Things which are good […]