Debugging Drupal With Docker

This week I had occasion to help resolve a customer support case. As part of troubleshooting, I stood up a local copy of the site using Docker4Drupal. This worked out really well, and I’d like to take a moment to discuss some of the benefits. It initially took a little time to configure the site with Docker4Drupal, and to get XDebug linked up. But I’m sure that if I were doing this regularly, this would have been no more than a few minutes....

2017-12-27 · 2 min · 307 words · Nathaniel Hoag

Many and Varied Ramblings From the First Half of 2015

The last six months have been very full with the arrival of our first baby and all the prep work and new responsibilities that go with being a new parent. Here and there I’ve managed to squeeze in little hobby projects. Much to my astonishment, I also won the !!Con attendance lottery(!!), and had an amazing few days in NYC. !!Con !!Con was an extremely fun conference, and I consider myself so lucky to have won the attendance lottery....

2015-06-29 · 4 min · 802 words · Nathaniel Hoag

Flame Graphs Show Why Fast 404 Is Important for Drupal Performance

The Fast 404 Drupal contributed module project page provides a lot of context for why 404s are expensive in Drupal: … On an ‘average’ site with an ‘average’ module load, you can be looking at 60-100MB of memory being consumed on your server to deliver a 404. Consider a page with a bad .gif link and a missing .css file. That page will generate 2 404s along with the actual load of the page....

2014-11-23 · 2 min · 349 words · Nathaniel Hoag

Automating Drupal Module Deployment with Ruby

After building a bash script to automate Drupal module deployments, I figured it might be worthwhile to convert the script over to Ruby. I decided to spin up the new version as a Ruby gem leveraging the Thor CLI Framework. Having already worked out many of the mechanics of deploying Drupal contrib modules in the previous bash script, I was able to dive right into coding. I started by fleshing out the command options and then moved into scripting the functionality....

2014-05-21 · 3 min · 550 words · Nathaniel Hoag

Automating Drupal Module Deployment with Bash

Part of the process of migrating new customers to Acquia Hosting involves adding (or verifying the presence of) three Drupal modules: Acquia Network Connector: get status and recommendations from Acquia Insight Fast 404: reduce the cost of 404s Memcache API and Integration: improve performance by moving cache data into memory Manual?! Awe shucks… Verifying, adding, and committing these modules manually generally takes about five to ten minutes and can be error-prone....

2014-04-26 · 4 min · 697 words · Nathaniel Hoag