The performance impact is hard to judge, but I wouldn't expect it to be
much as it really just adds one invocation
of java.util.regex.Matcher#matches for every connection.

Have you conducted performance tests with and without the router? If so,
what did you find?


Justin

On Thu, Oct 30, 2025 at 6:12 PM Vilius Šumskas
<[email protected]> wrote:

> Sorry last message went unfinished to the list.
>
> ---
>
> We are using Artemis router:
>       <connection-router name="deny-privileged-users">
>             <key-type>ROLE_NAME</key-type>
>             <local-target-filter>^(?!amq$).*$</local-target-filter>
>       </connection-router>
>
> to filter out unwanted users from connecting to one of our acceptors.
>
> I'm wondering, what is the performance impact of such router if we have
> large amount of non-persistent connections from the clients? We have ~3k
> connections at the moment with a fair amount of them constantly
> disconnecting and connecting as per business requirements. Connections are
> TLS protected, if that make a difference.
>
> --
>     Vilius
>
> -----Original Message-----
> From: Vilius Šumskas <[email protected]>
> Sent: Friday, October 31, 2025 1:03 AM
> To: [email protected]
> Subject: Performance impact of acceptor router
>
> Hi,
>
> we are using router:
>
> --
>     Pagarbiai,
>
>     Vilius Šumskas
>     Rivile
>     IT vadovas
>     +370 614 75713
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> For further information, visit: https://activemq.apache.org/contact
>
>

Reply via email to