heesung-sn commented on code in PR #19012: URL: https://github.com/apache/pulsar/pull/19012#discussion_r1059526016
########## site2/docs/cookbooks-message-dispatch-throttling.md: ########## @@ -0,0 +1,104 @@ +--- +id: message-dispatch-throttling +title: Message dispatch throttling +sidebar_label: "Message dispatch throttling" +--- + +## Message Dispatch throttling +Message dispatch throttling is a mechanism that limits the speed at which messages are delivered to the client. + +### When should I use message dispatch throttling? +* Messages are persisted on disk, `Storage` is the component for this part of the work. If a large number of read + requests fail to match the cache, the Storage becomes too busy and cannot work properly. Use message dispatch Review Comment: > If a large number of read requests fail to match the cache, the Storage becomes too busy and cannot work properly. This sounds that Bookkeeper does not have a back-pressure feature. (can we explain how BK implements back-pressure a little bit here?) I think one would expect a latency increase or some sort of throttling from BK if BK is overloaded. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
