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

Reuse channel in receiver to allow setup global qos #181

Open
abialas opened this issue Sep 27, 2023 · 0 comments
Open

Reuse channel in receiver to allow setup global qos #181

abialas opened this issue Sep 27, 2023 · 0 comments

Comments

@abialas
Copy link

abialas commented Sep 27, 2023

Receiver creates a new channel for every queue it consuming from. It removes the possibility to set global qos (described here: https://www.rabbitmq.com/consumer-prefetch.html#sharing-the-limit)

Motivation

If single consumer consumes from multiple queue it creates new channel and qos works only for single channel. We have multiple queues where load might be different at the specific point in time. If we set qos per channel we might get OOM so we must lower the value to the worst case (when each queue is fully occupied with high traffic). However, this has impact on consumer performance when only one queue at a time has high load. With global qos (shared channel) it should be possible.

Desired solution

Have a possibility to share channel for Receiver along with possibility to setup global qos.

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

No branches or pull requests

1 participant