[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    Re: Artemis Router Architecture
From:       Justin Bertram <jbertram () apache ! org>
Date:       2023-03-02 19:51:22
Message-ID: CAF+kE=TwVYGvnt5Q5iGvqUexrRMcGzCJzd3WrfuoTcM1tAhgFQ () mail ! gmail ! com
[Download RAW message or body]


Can you elaborate on your use-case at all?

The main class responsible for routing is
org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.


Justin

On Wed, Mar 1, 2023 at 4:55 PM Brian Ramprasad <brianr@cs.utoronto.ca>
wrote:

> Hi Clebert,
>
> Thanks for your reply.
>
> Yes, I would still like to learn how the routing works. I am PhD student
> and my work involves using Artemis in a way that is likely very atypical as
> compared to the common use cases.
>
> Do you know if there is any documentation or can you provide the names of
> a few Java classes that are central to the router?
>
>
>
>
>
>
> > On Mar 1, 2023, at 5:16 PM, Clebert Suconic <clebert.suconic@gmail.com>
> wrote:
> >
> > Are you sure you need to do that?
> >
> > routing is so optimized right now... if you don't use transactions, a
> > single consumer, all that's happening is just sending straight to a
> > consumer.
> >
> >
> > If you start adding multiple consumers, than routing will probably
> > need some extra work to do, but other than that is pretty optimized
> > right now.
> >
> > On Wed, Mar 1, 2023 at 4:56 PM Brian Ramprasad <brianr@cs.utoronto.ca>
> wrote:
> >>
> >> Hi,
> >>
> >> I am looking for information about how the routing function works in
> Artemis. Specifically, I am trying to understand what internal service
> inside the broker is invoked once a msg has been read off the network in
> order to determine where to forward the message. Additionally, I am trying
> to understand the service that is then responsible for moving that message
> to an outbound queue where a consumer is waiting to receive that message.
> >>
> >> I am trying to determine if I can optimize the routing mechanism by
> removing any unneeded functionality to reduce overhead  to support a
> specific consumer use case that I have.
> >>
> >> Any information is appreciated!
> >>
> >> Thanks
> >> Brian R
> >
> >
> >
> > --
> > Clebert Suconic
>
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic