11 March 2010

The Ruby Reflector

Topic

RabbitMQ

  Source Favicon
By 0x4a6f4672 of 4 Lines of Code 44 minutes ago.

RabbitMQ

- RabbitMQ is a Message Queue Server in Erlang

- stores jobs in memory (message queue)

- Ruby client: AMQP/Carrot/Workling/ Minon

Apache ActiveMQ

- ActiveMQ is an open source message broker in Java

- Ruby client: ActiveMessaging can be used to access ActiveMQ

Beanstalkd

- written by Philotic, Inc. to improve the response time of a Facebook application

- in-memory workqueue service mostly written in C

- Ruby client: async-observer …

4loc.wordpress.com Read
  Source Favicon
On Scout ~ The Blog 2 days ago.

…'s RabbitMQ Overall Monitoring Plugin monitors the overall health of RabbitMQ - reporting the number of queues, connections, etc. His RabbitMQ Queue Monitoring Plugin drills down to a specific queue.

Doug tells me that Interactive Mediums, which offers a mobile customer engagement platform used by many top brands, has been very happy with RabbitMQ's small memory footprint and stability. We use RabbitMQ for processing all of the SMS messages that flow …

scoutapp.com Read
  Source Favicon
By 0x4a6f4672 of 4 Lines of Code 9 days ago.

AMQP broker written in Erlang. To install the Erlang package and the RabbitMQ daemon under Ubuntu or Debian try $ sudo apt-get install rabbitmq-server

Then you can start or stop the RabbitMQ daemon (the Linux counterpart of a service in Windows) with $ sudo /etc/init.d/rabbitmq-server start $ sudo /etc/init.d/rabbitmq-server stop

Here is a simple example for a publish/subscribe message exchange process using an AMQP message queue. The information flow in the publish/subscribe …

4loc.wordpress.com Read
  Source Favicon
On Opscode Blog 10 days ago.

[ CHEF -666 ] - Chef should have separate Rabbitmq users for "nanite" and "mapper" roles

[ CHEF -667 ] - Specs run really slooooow because of ohai

[ CHEF -669 ] - optional rubygems?

[ CHEF -670 ] - knife should be smarter about the command line arguments

[ CHEF -671 ] - SCM providers should be able to specify the group

[ CHEF -676 ] - redhat init script update …

opscode.com Read
  Source Favicon
On Mike Perham 20 days ago.

…really like about some software projects is when they provide an actual changelog or release notes. RabbitMQ released 1.7.2 the other day and I asked the developers if they could link to a changelog. They pointed me to this page . Unfortunately this is not exactly what I had in mind. To me, a changelog is a brief overview of the changes in a version that is digestible by the end user . The key factor is that a changelog is not machine-generated but written by a project developer …

mikeperham.com Read
  Source Favicon
By John Mettraux of processi 2 months ago.

…a storage where CouchDB is used for expression storing while messages are dealt with RabbitMQ ? (Note the doubly underlying Erlang here)

dispatch threads

As mentioned previously, the default ruote implementation, when it comes to dispatching workitems to participants, will spawn a new thread each time.

People complained about that, and asked me about putting an upper limit to the number of such threads. I haven't put that limit, but I made some provisions for an implementation of …

jmettraux.wordpress.com Read
  Source Favicon

…the Twitter Stream API and puting the tweets on a queue ( RabbitMQ in my case) using AMQP :

Pretty easy right? Notice I am using a fanout exchange, which will allow me to broadcast the same message to all queues (clients) latter on.

Server

Now we just need to build a server that accepts websocket connections, and for each client deliver each message that arrives on the fanout exchange. The code will make this clear:

So simple, yet so awesome!

Client

The client just have …

blog.0x82.com Read
  Source Favicon
By Sean Cribbs of Rails Dog 3 months ago.

…additional options passed to the runit service tell the templates the location of the worker code and the RabbitMQ host. We also take advantage of the "only if" option so the service won't be created if there's no host with RabbitMQ on it yet.

The last step in the Chef configuration was to create two roles , one for the queue and one for the worker. Naturally, the node that has the queue can also act as a worker. Here's what the role JSON documents …

railsdog.com Read
  Source Favicon
By Rahoul Baruah of Brightbox Blog 4 months ago.

…incoming messages, placing them on one of many queues and routing them to a destination reliably; RabbitMQ is a server, built in Erlang, that is pretty lightweight and has some nice clustering features built-in.

Into the Warren

When it came to getting our Rails applications to talk to RabbitMQ, we had a couple of choices.

There is an AMQP gem which looked great. Unfortunately, as it uses EventMachine internally, it caused a few problems with our Passenger-based deployments …

blog.brightbox.co.uk Read
  Source Favicon
On paperplanes 4 months ago.

…load, memory usage and the like. It's also a great fit for a worker queue, but since we have RabbitMQ in place, there's no need for that.

When you look at it closely, there's heaps of uses for Redis. Chris Wanstrath wrote about how he used it writing hurl , and Simon Willison also published a love letter to Redis, there's also more info on how you use it with the Ruby library over at the EngineYard blog , and James Edward Grey…

paperplanes.de Read