Skip to content

doublethink.co.uk

Tag: #open source

amqpprox - AMQP 0.9.1 Proxy

At RabbitMQ Summit this year my group presented on a technology we developed to help run our Rabbit farm, which we simultaneously open-sourced as amqpprox. This is the first internal product my group has open-sourced, and we're excited to be able to open the code and share a useful tool with the community.

amqpprox is a simple boost ASIO based Layer-7 proxy which speaks just enough of AMQP 0.9.1 to allow regular RabbitMQ clients to connect to it and once their virtual-host is known redirect them to an appropriate RabbitMQ broker. This enables some interesting operational procedures, such as seamless blue-green upgrades and downgrades of a virtual-host at a time, and redirecting load between clusters. These procedures and the basics of the proxy's operation are outlined in the presentation below.