activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: overhead of delayed messages? what data structure does it use? would 1M kill it?
Date Wed, 04 Jun 2014 17:24:23 GMT
Could you use a throttling EIP?
http://camel.apache.org/throttler.html

Delayed messages are handled by ActiveMQ scheduling plugin:
http://activemq.apache.org/delay-and-schedule-message-delivery.html


On Thu, May 29, 2014 at 1:41 PM, Kevin Burton <burton@spinn3r.com> wrote:

> What data structure does ActiveMQ use for delayed messages.
>
> I think this is exactly what I need, but it could be easy for us to
> accidentally enqueue 1M delayed messages.
>
> and if our throughput falls of in that situation then the total overall
> system throughput will fail.
>
> One idea is to have a whole separate queue for items that are delayed.
>  This way items that can be schedule right away, don't have to be inserted
> into a queue with 1M items.
>
> --
>
> Founder/CEO Spinn3r.com
> Location: *San Francisco, CA*
> Skype: *burtonator*
> blog: http://burtonator.wordpress.com
> … or check out my Google+ profile
> <https://plus.google.com/102718274791889610666/posts>
> <http://spinn3r.com>
> War is peace. Freedom is slavery. Ignorance is strength. Corporations are
> people.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

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