HAProxy is a reliable and high performance load balancer for TCP and HTTP(S) based applications.
There are several detailed tutorials around the web on how to install HAProxy. As is usual of my “Tech Recipe” posts, I’ve boiled those instructions down to the quickest way to have HAProxy installed and running on your Ubuntu machine. You will have a running and configured version of HAProxy 1.5 running in under 2 minutes, and ready to go into production. Continue reading
RabbitMQ is an implementation of AMQP, the emerging standard for high performance enterprise messaging. The RabbitMQ server is a robust and scalable implementation of an AMQP broker.
I recently had to setup a RabbitMQ cluster from scratch on a brand new Ubuntu 14.04 server. This is easy. Continue reading
In an earlier post I summarized a series of git commands to work with branches. In this post, I attempt to classify those commands, according to their purpose. My approach in this article is to take a series of common development scenarios using git and see how we can solve them. At the end of the article we will use what we have learnt (and some) to create a couple of useful git aliases.
This is a repost of an old article i had written in 2012 on posterous.com. Posterous shut down
I was recently invited to an interview by a well respected internet company in Bangalore to interview for a web development role. I thought this would be a Continue reading
Ever wondered if there was a quick guide to working with branches. Sure there’s Git SCM and Git Ref, but it’s not always obvious what that one line of code is that you need, right now!. So here’s my attempt to address the issue. For those familiar with git, but don’t quite know what command to run.
This is a list of git commands for common situations when working with branches. It addresses branch creation, discovery and syncronization. Continue reading
Normally for this kind of task you would do a `sudo apt-get install redis-server`, but you’ll only get Redis 2.2. The current stable release is 2.8, and that’s not even in Ubuntu 13.04. You can download and make manually, but there’s a simpler way.
For those of you who have the unenviable task of building a technical analysis library in PHP, Anatoliy Belsky has ported the comprehensive Technical Analysis Library to PHP as a PECL extension. It is a work in progress, and during my trial the pecl extension broke during install. Continue reading