On Oct 5, 2007, at 12:33 AM, Bruce Snyder wrote:

[snip]

Are you asking how to deploy multiple copies of your SAs to multiple
ServiceMix containers?

Well, he may not be, but I am...  ;)

This has actually been puzzling me for a while and I can't seem to find the answer, even through much web research.

Say I have a service whose job is to consume messages off a queue and put them in a database. Everything is going fine, but then a large number of messages start flooding the queue and it can no longer keep up. Assume my service is stateless and I want to just have more "instances" of it running in ServiceMix so that it can process more messages. Later, once the "storm" has passed, I may want to turn off some of the "instances" to free up memory/cpu for other services.

What is the recommended ServiceMix strategy for scaling in this manner?



Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\! G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/

--
Daryl
http://itsallsemantics.com

"I’m afraid of the easy stuff… its always harder than it seems…"
    -- Bill Hampton, 2006



Reply via email to