Witti Recent Posts

Looking forward to PHP 5.3

Preliminary research suggested that I would see some improvement by upgrading. Based on those benchmarks, Drupal with APC should see about 3% improvement (far less than Drupal without APC). After migrating to a completely new AMI with an update to Linux, PHP, Apache, Varnish, etc., I saw nearly 30% improvement with Drupal and APC. Too many systems updated for me to tell which provided the performance boost without major research time.

Technologies: 

Bad AMI Design - Meet oom-killer

Tracking down a serious problem took this route while testing a public AMI:

Web Request Segmentation (QoS by Proxy)

We occasionally see major spikes in traffic due to robots and spiders on the site. While the traffic is a good thing, it is lower priority. Unfortunately, there is no way to tell apache to work slower on some requests. If we were a smaller site, our Varnish configuration would be sufficient since all of the pages could be cached for anonymous access. Unfortunately, we have a database of 20,000+ nodes that are publicly accessible, and spiders want to see all of them. When the wrong factors line up, it equates to a minor DOS attack.
Here are some of our rejected options:

Technologies: 

Optimizing the LAMP Stack - Part III

Another wave of performance-enhancing upgrades to the site and underlying technologies. Constant tuning seems to be the price we pay to use 150+ open source Drupal modules. Here is a combination of changes that make a big improvement:

Technologies: 
Project Position: 

Bug Soup: Icewarp + Outlook + List Footer

A few emails came over our Icewarp-powered email list and appeared blank in Outlook 2010. The data was clearly present in the email files, but Outlook refused to render the content.

SWF Conversion

 Install SwfTools on Ubuntu

  1. apt-get install zlib1g-dev libjpeg-dev libgif-dev libfreetype6-dev g++
  2. download from swftools.org and do the standard configure/make/make install

The included swfrender was unable to handle our specific use cases, but getting the correct supporting libraries installed took enough effort to be worth documenting here.

Technologies: 

Segmenting the Office Internet Traffic

Our office network performs multiple key functions for the organization. Three key functions are staff Internet access, staff file server access, and async email/backup/automation traffic. Based on our usage levels, we have established two separate Internet connections. Email, backup, and other delay-able traffic uses one connection. All other traffic is driven by human action and runs on the other Internet connection/network.

VMware ESXi

I have used VMware player for quite some time on my desktop so that I have a safe sandbox for my LAMP development. The ability to easily backup and restore has come in handy several times, and I generally have at least two different virtual machines running all the time. I also work with Amazon EC2, so the virtual machine architecture is all around. And I love it.

Technologies: 

The Mental Health Clinician

In the spring/summer of 2011, I oversaw (as staff liaison) the second major overhaul of our monthly member newsletter of my tenure. Rather than having separate individuals volunteer to obtain specific types of articles, the process was changed into an editorial board that assigned a primary editor to each issue. A theme schedule was created so that each editor new far in advance what content would be necessary, and providing a focused theme allowed each article to build on interest in adjacent content.

Technologies: 
Team Members: 

Site speed with RDS

The site took an initial hit when moving to RDS due to the introduction of network latency. However, it has facilitated several improvements that would not have been possible prior to the change. Here are some RDS-related notes:

Technologies: 

Pages