Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an Artemis last-value queue for watchStateChanges #18

Open
agarciadom opened this issue Nov 22, 2015 · 0 comments
Open

Use an Artemis last-value queue for watchStateChanges #18

agarciadom opened this issue Nov 22, 2015 · 0 comments

Comments

@agarciadom
Copy link
Member

To reduce the potential overhead of watchStateChanges on a server, we use temporary queues, which normally don't touch the disk at all and do not persist reconnections. However, a client with a very slow or unstable (but not dropped) connection could still have messages piling up in their queue, which would not be useful, as we would only be interested in the last message anyway.

Artemis provides "last-value queues" precisely for this purpose, and we should use them:

https://activemq.apache.org/artemis/docs/1.0.0/last-value-queues.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant