<div dir="ltr">Alexis<br><br>Let&#39;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">&lt;<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>&gt;</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 &quot;at scale&quot;<br>
<br>
2. You want to make use of a RabbitMQ client (or clients) for an<br>
&#39;integration scenario&#39;.<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 &lt;<a href="mailto:ben.browitt@gmail.com">ben.browitt@gmail.com</a>&gt; wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; There is the xmpp bridge with ejabberd but I wonder if native xmpp bosh<br>
&gt; support in rabbitmq makes sense.<br>
&gt; Let&#39;s say mochiweb accept xmpp http requests, a process per user receive a<br>
&gt; request and decide what to do with it.<br>
&gt; Each process will use the amqp erlang client to create a channel and then<br>
&gt; exchanges, queues and bindings when needed.<br>
&gt;<br>
&gt; If mochiweb handles the connections and a plugin handles the logic do I<br>
&gt; really gain anything by using rabbitmq?<br>
&gt; I have a feeling that rabbitmq is the way to go but I don&#39;t know why.<br>
&gt; What benefits do I get by using rabbitmq in this scenario?<br>
&gt;<br>
&gt; Ben<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; rabbitmq-discuss mailing list<br>
&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; <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>
&gt;<br>
&gt;<br>
</blockquote></div><br></div>