<div dir="ltr">Alexis<br><br>Let's take Facebook chat as an example. You only have web interface with xmpp or a custom protocol.<br>You have several servers that need to sync.<br>How RabbitMQ can be usefull in this scenario? Do you mean that each IM server will have a RabbitMQ node <br>
that will send and receive sync messages from other RabbitMQ nodes on other IM servers?<br><br>ben<br><br><div class="gmail_quote">On Wed, Feb 3, 2010 at 1:43 PM, Alexis Richardson <span dir="ltr"><<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Ben<br>
<br>
Let me have a stab at this. Others may have more useful comments.<br>
<br>
The main benefit of using RabbitMQ in these cases is twofold:<br>
<br>
1. You want to do pubsub and/or queueing, perhaps "at scale"<br>
<br>
2. You want to make use of a RabbitMQ client (or clients) for an<br>
'integration scenario'.<br>
<br>
For example you may wish to combine both 1 and 2 to scale up your web<br>
or IM server by using queues to decouple user requests, from back end<br>
services that fulfil them, and then gather the results of the work on<br>
another queue before returning aggregate results to the user.<br>
<br>
Does this help?<br>
<br>
alexis<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Wed, Feb 3, 2010 at 11:06 AM, Ben Browitt <<a href="mailto:ben.browitt@gmail.com">ben.browitt@gmail.com</a>> wrote:<br>
> Hi<br>
><br>
> There is the xmpp bridge with ejabberd but I wonder if native xmpp bosh<br>
> support in rabbitmq makes sense.<br>
> Let's say mochiweb accept xmpp http requests, a process per user receive a<br>
> request and decide what to do with it.<br>
> Each process will use the amqp erlang client to create a channel and then<br>
> exchanges, queues and bindings when needed.<br>
><br>
> If mochiweb handles the connections and a plugin handles the logic do I<br>
> really gain anything by using rabbitmq?<br>
> I have a feeling that rabbitmq is the way to go but I don't know why.<br>
> What benefits do I get by using rabbitmq in this scenario?<br>
><br>
> Ben<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> rabbitmq-discuss mailing list<br>
> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
> <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
><br>
><br>
</blockquote></div><br></div>