2009/9/8 Cyril Mougel <[email protected]>

>
> JD a écrit :
> > Bonjour,
> >
> > Peut être mon message est-il tombé dans les oubliettes du mois d'août :
> >
> > Le lundi 10 août 2009 à 11:38 +0200, JD a écrit :
> >
> >> Bonjour,
> >>
> >> Existe-t'il un équivalent à la prefetch limit d'activeMQ avec
> >> stompserver ?
> >>
> >> "Its a good idea to have large values of the prefetch limit if you
> >> want high performance and if you have high message volumes. If you
> >> have very few messages and each message takes a very long time to
> >> process you might want to set the prefetch value to 1 so that a
> >> consumer is given one message at a time. Specifying a prefetch limit
> >> of zero means the consumer will poll for more messages, one at a time,
> >> instead of the message being pushed to the
> >> consumer." (
> http://activemq.apache.org/what-is-the-prefetch-limit-for.html)
> >>
> >> Par exemple, avec activemessaging/ActiveMQ, j'envoi dans mon message
> >> le paramètre activemq.prefetchSize: 1 pour régler cette limitation.
> >>
> >
> >
> > Merci pour votre aide.
> >
> > J.
> >
> >
>
> Moi j'utilise nanite \o/
>
>
+1

Dans ton cas, tu peux tirer profit des options de nanite lors de l'envoi
d'un message :
 - selection du noeud de traitement : moins chargé, tous, random
 - push ou call

Je pense que ca pourrait t'aider et rabbitMQ est a mon avis plus scalable
que stompserver.

-- 
http://fabien.jakimowicz.com
Sent from Cachan, France

--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe "Railsfrance" de 
Google Groups.
Pour transmettre des messages à ce groupe, envoyez un e-mail à l'adresse 
[email protected]
Pour résilier votre abonnement envoyez un e-mail à l'adresse 
[email protected]
-~----------~----~----~----~------~----~------~--~---

Répondre à