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

Expand the polling yield model with min count #1879

Open
mensfeld opened this issue Feb 4, 2024 · 0 comments
Open

Expand the polling yield model with min count #1879

mensfeld opened this issue Feb 4, 2024 · 0 comments
Assignees
Labels
enhancement New features, updated functionalities and improvements routing Things related to the routing DSL

Comments

@mensfeld
Copy link
Member

mensfeld commented Feb 4, 2024

At the moment we accumulate messages from a single SG until we get enough (max_messages) or time passes (max wait time). While this is usually ok for single topic subscriptions it does not provide way of granular latency control. User can use multi-SG setup or multiplex but this could also be optimized by saying "wait for 10 seconds tops OR 1000 messages OR if you have min 10 messages of Y also yield". This could allow to have low latency on low-loaded topics while mixing this with high traffic topics seamlessly.

@mensfeld mensfeld added enhancement New features, updated functionalities and improvements routing Things related to the routing DSL labels Feb 4, 2024
@mensfeld mensfeld self-assigned this Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features, updated functionalities and improvements routing Things related to the routing DSL
Development

No branches or pull requests

1 participant