[rabbitmq-discuss] RabbitMQ and MySQL

Jerry Kuch jerryk at vmware.com
Tue Feb 28 21:20:18 GMT 2012

Hi, Pep:

That very well might be.  Your application would put together the
specifics of the job, publish them as a message into RabbitMQ, after
which some consumers which do the actual work of the job would dequeue
those tasks and do the work behind the scenes, thus decoupling your
users from having to wait on them.

Check out the tutorials here:


For ideas on how you might incorporate such patterns into your app.
It will likely work far better for you than scary database tricks. :-)

You can also look at the book "RabbitMQ in Action" from Manning (now
available as a preview eBook from Manning, print version due out 
very soon) for a thorough discussion of messaging and its use in some 
example application scenarios that are likely similar to what you have.

Best regards,

----- Original Message -----
From: "PepMad" <pepmadon at gmail.com>
To: rabbitmq-discuss at lists.rabbitmq.com
Sent: Tuesday, February 28, 2012 1:16:06 PM
Subject: Re: [rabbitmq-discuss] RabbitMQ and MySQL

Hi Jerry,

A website that the user can submit a job, the job is a script on the
server, the script takes an unknown length of time. I didn't want the
user on the site to wait, I just wanted a return status that the job
was sent to a que. I thought about using mysql udf's or a mysql script
for polling an update table, then I found the StackOverflow post and I
thought RabbitMQ might be a better solution for messaging a que via
the site.

rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com

More information about the rabbitmq-discuss mailing list