Blog Posts

Reporter: A PHP-based content monitoring, testing, and notification suite

Dec 15, 2014 - Elliott Brueggeman
Introducing Reporter, PHP-based, developer-focused content monitoring, testing, and notification suite.

Deploying Code with Python's Fabric

Dec 1, 2013 - Elliott Brueggeman
After using Capistrano for deployment for the past four years, I recently came across the Python Fabric library. Fabric is flexible, lightweight, and easy to get up and running. I've put together an example Fabric script that shows how easy it is to get full featured deployments up and running.

Creating a Message Queue in PHP Without External Libraries

Jan 7, 2013 - Elliott Brueggeman
Utilizing a message queue is a key strategy for creating distributed, high-throughput web services. A message queue allows "work" to be placed in a queue. Separate processes, sometimes referred to as workers, grab messages from the queue and process them according to the needs of the application.

Installing Gearman and the Gearman PHP Extension on Debian 6 Squeeze

Dec 6, 2012 - Elliott Brueggeman
Here's a run though of installing Gearman and the Gearman PHP Extension on Debian 6 Squeeze. I noticed that several other tutorials had steps that did not work properly with the Gearman client version available in PECL at the time that this article was published.

Setting cookies in nginx

Oct 9, 2011 - Elliott Brueggeman
Setting a cookie in nginx is easy. Look at the following example of setting the cookie lcid with the value 1033 when a page url starts with "/fr/": location ~* (^/fr/) { add_header Set-Cookie lcid=1033; # ...

Visitor Tracking with Redis and PHP

Sep 18, 2011 - Elliott Brueggeman
A recent project had the requirement for detailed and instant visitor tracking integrated into the admin gui of a high traffic site.

Installing Apache mod_deflate and mod_expires on CentOS 5

Sep 14, 2011 - Elliott Brueggeman
When installing Apache web server, it's a good idea to enable the mod_deflate and mod_expires modules. Mod_deflate enables Apache to serve compressed content which is then decoded by the receiving browser.

Installing Redis on CentOS 5.6

Sep 11, 2011 - Elliott Brueggeman
Redis is a high performance key-value store that can be easily integrated with a variety of applications. Redis can handle many inserts (sets) by keeping newly added values in memory and writing them to disk over time. To install Redis on CentOS 5.6, run the following commands as root.

Drupal's optimize CSS and JavaScript setting causing problems in multiple server environments

Aug 30, 2011 - Elliott Brueggeman
There's a common Drupal setting that allows you to optimize and JavaScript or CSS in the Site Configuration > Performance menu. Turning this setting on will minify and concatenate all of these used files into a single JavaScript and single CSS file.

Drupal Memcache and APC caches compared

Jun 6, 2011 - Elliott Brueggeman
Highly scalable Drupal sites require a caching solution more robust than the default database-backed cache. In-memory storage is very popular because of its performance and relatively easy installation, and Memcache and APC seem to be the two most popular options. Drupal Integration