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

Back Pressure Conflicting Definitions #863

Open
aurainsignia opened this issue Jun 4, 2024 · 0 comments
Open

Back Pressure Conflicting Definitions #863

aurainsignia opened this issue Jun 4, 2024 · 0 comments

Comments

@aurainsignia
Copy link

aurainsignia commented Jun 4, 2024

If queues start to grow significantly, the queue size can become larger than memory, resulting in cache misses, disk reads, and even slower performance. Back pressure can help by limiting the queue size, thereby maintaining a high throughput rate and good response times for jobs already in the queue.

I'm finding conflicting definitions of what back pressure is. The wording here seems to suggest that back pressure is the solution of limiting queue size to prevent performance degradation when input grows too large on unbound queues. When checking other sources though, back pressure seems to be described as the problem of the input growing too large for the queue to handle, rather than the solution to the input growing too large. From that definition, the sentence "Back pressure can help by limiting the queue size ..." doesn't make any sense. Is back pressure the problem, or the solution?

Sources defining back pressure as the problem:

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

2 participants