Muralidhar Basani created KAFKA-20615:
-----------------------------------------

             Summary: Benchmark restore-path pause-resume toggle frequency to 
evaluate a lower resume threshold
                 Key: KAFKA-20615
                 URL: https://issues.apache.org/jira/browse/KAFKA-20615
             Project: Kafka
          Issue Type: Sub-task
          Components: streams
            Reporter: Muralidhar Basani
            Assignee: Muralidhar Basani


jmh microbenchmark : measure restore path pause() / resume() toggle latency 
with 1,10,100 partitions 

May be RestoreConsumerPauseResumeBenchmark.java

(java/org/apache/kafka/jmh/streams/RawBytesExtractionBenchmark.java already 
exists as an example.)

Evaluation: based on results, decide whether to introduce a separate resume 
threshold (ex: resume only once the buffer drops below 50% of the cap). If 
toggle cost is negligible, keep the single threshold.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to