momo-jun commented on code in PR #386: URL: https://github.com/apache/pulsar-site/pull/386#discussion_r1100909829
########## docs/concepts-throttling.md: ########## @@ -0,0 +1,167 @@ +--- +id: concepts-throttling +title: Message dispatch throttling +sidebar_label: "Message throttling" +--- + +## Overview + +### What is message dispatch throttling? + +Large message payloads can cause memory usage spikes that lead to performance decreases. Pulsar adopts a rate-limit throttling mechanism for message dispatch, avoiding a traffic surge and improving message deliverability. You can set a threshold to limit the number of messages and the byte size of entries that can be delivered to clients, blocking subsequent deliveries when the traffic per unit of time exceeds the threshold. + +For example, when you configure the dispatch rate limit to 10 messages per second, then the number of messages that can be delivered to the client per second is up to 10. + + + +### Why use it? + +Message dispatch throttling brings the following benefits in detail: + +- **Limit broker’s read request loads to BookKeeper** Review Comment: Sharp eyes! It's weird that `'` in the google docs and other editors changes to `‘` in the markdown file after a copy&paste. There are 50+ occurrences in the current docs that might be due to the same cause. I'll get it all fixed soon. -- 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]
