activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject Re: speed of queue browsing to see if an item is already enqueued…
Date Fri, 17 Oct 2014 20:34:59 GMT
ok.. that’s reasonable.  Thanks for the reply.. I think what I’ll do is
have some basic sanity assertions run periodically.

On Wed, Oct 15, 2014 at 12:51 AM, Gary Tully <gary.tully@gmail.com> wrote:

> It will depend on the queue depth b/c it is a linear search to find a
> match. But all messages will be in memory so it will be quick.
>  On 15 Oct 2014 06:37, "Kevin Burton" <burton@spinn3r.com> wrote:
>
> > I have the need to check if a given item, with a specific key, is already
> > in the queue, or scheduled for future execution.
> >
> > What’s the performance of this like?  Is it relativity efficient?  My
> > requirements for this aren’t very high… I may be doing maybe 1-5% of my
> > load with this type of query.
> >
> > Kevin
> >
> > --
> >
> > Founder/CEO Spinn3r.com
> > Location: *San Francisco, CA*
> > blog: http://burtonator.wordpress.com
> > … or check out my Google+ profile
> > <https://plus.google.com/102718274791889610666/posts>
> > <http://spinn3r.com>
> >
>



-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

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