hachikuji opened a new pull request #8709:
URL: https://github.com/apache/kafka/pull/8709


   For KIP-392, we added logic to make sure that high watermark changes are 
propagated to followers without delay in order to improve end to end latency 
when fetching from followers. The downside of this change is that it increases 
the rate of fetch requests from followers which can have a noticeable impact on 
performance (see KAFKA-9731). 
   
   To fix that problem, we have already modified the code so that we only 
propagate high watermark changes immediately when a replica selector is used 
(which is not the default). However, leaving this logic around means that it is 
risky to enable follower fetching since it changes the follower request rate, 
which can have a big impact on overall broker performance. 
   
   This patch disables immediate propagation of the high watermark more 
generally. Instead, users can use the max wait time in order to control the 
worst-case latency. Note that this is typically only a problem anyway for 
low-throughput clusters since otherwise we will have a steady rate of high 
watermark updates.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to