post the rest of your config.
On Mon, Apr 22, 2013 at 2:05 PM, SledgeHammer <grosin@firstam.com> wrote:
> Trying to set up my ActiveMQ to be non persistent so I can get it as fast
> as
> possible. We don't need to re-queue messages if the queue is restarted. As
> I
> have it right now, it takes 50ms for a 1MB send. When I add
> persistance="false" to the broker tag, it drops down to 15ms for a 1MB
> send.
> Issue, of course is that I run out of memory with about 520 messages in the
> queue.
>
> I saw this URL: http://activemq.apache.org/message-cursors.html
>
> Not sure which set up I need, but I assumed the FileCursor so when the
> memory is used up, it swaps out to disk.
>
> Tried the persistance="false" and:
>
> <pendingQueuePolicy>
> <fileQueueCursor />
> </pendingQueuePolicy>
>
> But it still died around 520 msgs. Do I need to configure something else?
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Trying-to-set-up-non-persistant-messaging-tp4666127.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta
|