activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: facility for temporary connections?
Date Mon, 29 Mar 2010 08:17:37 GMT
Hi Joe,

the main question is do you really need that many clients and can you
redesign your system to use smaller number of clients and selectors for
example?

as of scaling, the best starting point to scaling the broker is this
article

http://activemq.apache.org/how-do-i-configure-10s-of-1000s-of-queues-in-a-single-broker-.html

and looking into

activemq-scalability.xml

provided with the ActiveMQ distribution.

You may also want to consider creating a network of brokers for this task.

As long as restraining number of connections, you can take a look here

https://issues.apache.org/activemq/browse/AMQ-1928

for the similar feature. Just that it throws an exception instead of waiting
for the connection to be stopped. Finally, you can write a plugin

http://activemq.apache.org/developing-plugins.html

that will do what you want.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Sun, Mar 28, 2010 at 4:33 PM, joe <fischauto333@yahoo.de> wrote:

> Hi,
>
> I am searching for a kind of MOM technology and played around with ActiveMQ
> in the last weeks.
> The beginning was/is quite hard for me, but with the MEAP of "ActiveMQ in
> Action" and the docs on your pages i made some progress. ;)
>
> For our requirements ActiveMQ looks promising, but there is one thing i am
> not sure about.
>
> We have one central server where a scheduler is running. This scheduler
> produces jobs for clients(machines in the network). Most of the jobs are
> scheduled between 02.00-05.00 but some are scheduled at other times. This
> can be defined by the users.
>
> Cause we need to support many clients (30-5000) i am not sure the broker is
> able to handle so many client connections regarding the needed threads.
>
> Searching the web, it seems possible to tune ActiveMQ to handle so many
> connections, but it seems to be quite difficult/tricky.
>
> Consindering our requirenments, its not needed that the MOM holds a
> connection to every client at every time. For us it would be ok if the
> broker establishes a connection when the connection is needed, then sending
> the message and then close the connection.
>
> Is there a facility to use ActiveMQ in this way?
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message