2010/3/11 Márcio Geovani Jasinski <marci...@gmail.com>: > Hi, > > I have an application running with one producer and many consumers. > In a stress situation I know that we need between 10 and 15 consumers but > normally this number is not needed. > > What´s the best solution for scalability using ActiveMQ? > 1. Create maximum consumers (15) and leave them awaiting for the stress > time?
Yes You might also want to read about prefetch limits; if you've a fairly small number of messages in peak times you might want to configure them smaller to ensure a more even spread http://activemq.apache.org/what-is-the-prefetch-limit-for.html -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/