Kamal Chandraprakash created KAFKA-15859:
--------------------------------------------

             Summary: Introduce delayed remote list offsets to make 
LIST_OFFSETS async
                 Key: KAFKA-15859
                 URL: https://issues.apache.org/jira/browse/KAFKA-15859
             Project: Kafka
          Issue Type: Task
            Reporter: Kamal Chandraprakash
            Assignee: Kamal Chandraprakash


LIST_OFFSETS API request is handled by the request handler threads. If there 
are concurrent LIST_OFFSETS requests to remote storage more than the number of 
request handler threads, then other requests such as FETCH and PRODUCE might 
starve and be queued. This can lead to higher latency in producing/consuming 
messages.

The `offsetForTimes` call to remote storage can take time as it has to fetch 
the offset and time indexes to serve the request so moving the requests to 
purgatory and handle it via the remote-log-reader threads frees up the request 
handler threads to serve other requests.



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

Reply via email to