Category: rabbitmq

Hacking RabbitMQ - Remote Queue Forwarders

Since earlier this year when I got my copy of Erlang book, I’ve wanted to do something unconventional with RabbitMQ source. I finally came up with an idea, which is somewhat interesting and maybe even useful, and could be done by an Erlang beginner like myself. Some background first. Each...

Read more...

Full Data vs Incremental Data in Messaging

My recent experiments with messaging for a distributed application led to a realization that I would like to share with you in this post. It’s not an earth shaking discovery but you may still find it interesting. Do you remember an old Unix command to create tape backups called dump?...

Read more...

Graphite RabbitMQ Integration

I started a new project on github - http://github.com/somic/graphite-rabbitmq. It currently includes a couple of tools written in Python which facilitate sending data to Graphite via RabbitMQ instead of connecting directly to the service using TCP. Graphite is a flexible and powerful tool to build charts. It’s also a data...

Read more...

Adjustable Per-URI Backend Capacity in Rabbitbal

I recently pushed a Rabbitbal update to Github - http://github.com/somic/rabbitbal. The biggest enhancement (IMHO) is ability to increase or decrease the number of backend consumers based on any HTTP request headers. In “table” routing mode (see rabbitbal.yml), you can now specify array of tests against which incoming request headers will...

Read more...

On rabbitmqctl and badrpc,nodedown

In the true spirit of open source community that has formed around RabbitMQ in the past several years and continues growing every week, on the mailing list we have recently tackled an issue when one runs “rabbitmqctl status” and gets “badrpc,nodedown” response, while broker is running as evidenced by ps...

Read more...

RabbitMQ and Rails

A quick note. This blog is getting a lot of google referrals for people looking for “rabbitmq rails”. I just wanted to say that I do not have good up-to-date material on the subject. Instead, check out this thread on ruby-amqp mailing list and consider tmm1-amqp gem for your project....

Read more...

Using RabbitMQ Beyond Queueing

UPDATED 2008-11-12: Adjusted Failover section below (additions in italic) based on a thread on rabbit-discuss. I am a big fan of RabbitMQ, an implementation of Advanced Message Queueing Protocol. In this post I am going to provide an overview how RabbitMQ can be used beyond simple queueing and pubsub. For...

Read more...

Slides for my AMQP/RabbitMQ Talk

I recently gave a talk titled Introduction to AMQP Messaging with RabbitMQ at a big web technology company in Chicago. You can now see the slides here on Slideshare, or download PDF.

Read more...

Ruby + AMQP + RabbitMQ Example

In this post I would like to show how one can exchange messages using AMQP protocol from Ruby, using RabbitMQ as a broker. I posted the original version of this script to rabbitmq-discuss mailing list back in September 2007. Prerequesites: RabbitMQ broker configured, up and running on 127.0.0.1 (localhost) on...

Read more...

Python AMQP client and non-blocking sockets

We put together an add-on for py-amqplib that implements AMQP client with non-blocking sockets in python. There are at least 2 scenarios where non-blocking sockets help, and both are applicable to consumers: 1) when you want to be able to interrupt consumer’s event loop without waiting for a next incoming...

Read more...