-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Config] Add readWorkerThreadsThrottlingEnabled to conf/bookkeeper.conf #12666
[Config] Add readWorkerThreadsThrottlingEnabled to conf/bookkeeper.conf #12666
Conversation
- apache/bookkeeper#2646 added "Auto-throttle read operations" which is enabled by default
@dlg99 Please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
good idea
@merlimat can you please comment on the 'open question' ? This is the line for whom is interested in checking out the source code in BK |
The The purpose is indeed to apply back-pressure and avoid unlimited memory usage in the Bookie. |
…nf (#12666) - apache/bookkeeper#2646 added "Auto-throttle read operations" which is enabled by default (cherry picked from commit fc6d6da)
…nf (apache#12666) - apache/bookkeeper#2646 added "Auto-throttle read operations" which is enabled by default
…nf (#12666) - apache/bookkeeper#2646 added "Auto-throttle read operations" which is enabled by default (cherry picked from commit fc6d6da)
Motivation
Modifications
readWorkerThreadsThrottlingEnabled=true
toconf/bookkeeper.conf
since that is the default value in BookKeeper that gets used unless the setting is explicitly set tofalse
.Open questions
readWorkerThreadsThrottlingEnabled=true
a safe default?.await()
and Auto-throttle read operations bookkeeper#2646 uses thatChannelFuture.await()
to block.