It does allow sharding/balancing if your domain allows for a way to specify
the shard-key upfront (eg. partitioning by State codes, age-buckets, etc)
and the improvement over selectors is that there's no need to worry about
multiple consumers and concurrent selection across processes which will
naturally screw with message-ordering. Using the grouping feature
guarantees a single consumer thread (for its lifetime) reading from its
shard which I think is pretty cool.

On Fri, Aug 24, 2012 at 1:48 AM, rmn190 <rmn...@gmail.com> wrote:

> thanks for reply.
>
> but the ‘sticky’ seems to have nothing with load-balance, right?
>
>
>
> On Fri, Aug 24, 2012 at 4:37 PM, Gaurav Sharma [via ActiveMQ] <
> ml-node+s2283324n4655527...@n4.nabble.com> wrote:
>
> > Another way to look at it is in terms of the sticky-session analogy
> though
> > don't be confused by the concept of the 'session'. The keyword of
> interest
> > is 'sticky'.
> >
> > On Fri, Aug 24, 2012 at 1:31 AM, rmn190 <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=4655527&i=0>>
> > wrote:
> >
> > > in http://activemq.apache.org/message-groups.html, there is a saying:
> > > Message
> > > Groups provide load balancing of the processing of messages across
> > multiple
> > > consumers.
> > >
> > > Although I read the whole article, I have not understood the relation
> > > between message group and load-balancing. After all, there has been
> > > load-balance already before message group: message broker dispatch
> > message
> > > according the speed of consumers' acknowledgment. So if there is
> > > load-balancing concerned with message group, it is a bigger one in term
> > of
> > > granularity.
> > >
> > > correct?
> > >
> > > Any comments or insights are appreciated.
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://activemq.2283324.n4.nabble.com/ActiveMQ-message-group-and-load-balancing-tp4655526.html
> > > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> > >
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://activemq.2283324.n4.nabble.com/ActiveMQ-message-group-and-load-balancing-tp4655526p4655527.html
> >  To unsubscribe from ActiveMQ message group and load-balancing?, click
> > here<
> http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4655526&code=cm1uMTkwQGdtYWlsLmNvbXw0NjU1NTI2fC0zMTI5MzkwODI=
> >
> > .
> > NAML<
> http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
> --
>
> Best Regards
> rmn190
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-message-group-and-load-balancing-tp4655526p4655528.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to