Nginx, tcp_nopush, sendfile, and memcache: The right configuration?
Tuning Nginx ("engine-X") seems to be something of a black art. Today, I looked closely at the tcp_nopush, sendfile, and keepalive_requests settings for pages rendered from PHP as a FastCGI, and...
View ArticleDowntime-free Drupal Migration
In Jauary we migrated a Drupal site that routinely has 40k+ hits per day. We moved the site from servers in the Pacific Northwest to a datacenter in Virginia. As if that wasn't enough, we moved the...
View ArticleWhy does Nginx return 499 errors?
I noticed something unexpected in my nginx logs today: There were a bunch of 499 HTTP codes in the access log. Oddly, these didn't show up in Google Analytics, there were no corresponding errors in the...
View ArticleA 53,900% speedup: Nginx, Drupal, and Memcache bring concurrency up and page...
With a clever hack utilizing Memcache, Nginx, and Drupal, we have been able to speed the delivery time of many of our major pages by 53,900% (from 8,100 msec to 15 msec, according to siege and AB...
View ArticleThe Best Tool for Web Page Speed Evaluation
It seems that, for me, this is the year of website performance optimization. From working with nginx and a crazy memcached setup to recently deploying a handful of Varnish servers, I have been deeply...
View ArticleRewriting URLs for X-Forwarded-Proto and Reverse Proxies
Reverse proxies and web servers sometimes forward HTTPS traffic to their backends using HTTP. (In other words, they handle the SSL with the client, and the backend only has to handle HTTP). This can...
View Article
More Pages to Explore .....