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
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
Installing sphinx and the PECL extension has confused me a couple of times. The installation is arcane and buggy, so I’ve written down the steps to automate it. I’ve used this on Ubuntu 11.10+ . If you know of how to make this work on CentOS or another Linux, let me know. And now, the script :