Building the RabbitMQ Erlang AMQP Client

I thought I’d jot down my notes from getting the experimental rabbitmq erlang amqp client to work, since http://hopper.squarespace.com/blog/2008/1/12/introducing-the-erlang-amqp-client.html is a little out of date.
This assumes you already have erlang (I’m using R13B01), OTP, eunit, and mercurial installed.
In a common base directory (~/rabbitmq), clone all the necessary tools:

~/rabbitmq> hg clone http://hg.rabbitmq.com/rabbitmq-erlang-client
~/rabbitmq> hg clone [...]

memcached blows memcache-client out of the water

Evan Weaver showed a benchmark of his memcached ruby gem outperforming the memcache-client gem by 20 times. Mike Perham then made the claim that memcache-client, being only 30-50% slower, is not really very slow.
I decided to do a real-world comparison of these two ruby libraries, mimicking how our back-end thrift services have many threads each [...]