Skip to content

Re-introduce consumer bias & set to 2.0 #1407

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

Merged
merged 2 commits into from
Oct 27, 2017
Merged

Conversation

hairyhum
Copy link
Contributor

Revert #1378 because it leads to performance degradation for publishers.

Set consumer bias to 2.0 to prioritise consumers.

@hairyhum hairyhum requested a review from gerhard October 26, 2017 16:09
Copy link
Contributor

@gerhard gerhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, doing the comparison benchmarks now.

@gerhard
Copy link
Contributor

gerhard commented Oct 27, 2017

Following #1378, we have observed that when using PerfTest, always prioritising consumers results in publishers being blocked most of the time. This is less than ideal. We have settled on making consumers 2x as fast as publishers.

No consumer bias

no-consumer-bias-1

no-consumer-bias-2

2x consumer bias

2x-consumer-bias-1

2x-consumer-bias-2

Copy link
Contributor

@gerhard gerhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@gerhard gerhard merged commit 7e1f423 into stable Oct 27, 2017
@gerhard gerhard deleted the rabbitmq-server-1378-revert branch October 27, 2017 10:57
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

Successfully merging this pull request may close these issues.

3 participants