Introducing Reporter, PHP-based, developer-focused content monitoring, testing, and notification suite.
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.
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.
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 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;
# ...
A recent project had the requirement for detailed and instant visitor tracking integrated into the admin gui of a high traffic site.
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.
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.
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.
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