zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-3683) Discard requests that are delayed longer than a configured threshold
Date Wed, 08 Jan 2020 22:53:00 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

ASF GitHub Bot updated ZOOKEEPER-3683:
    Labels: pull-request-available  (was: )

> Discard requests that are delayed longer than a configured threshold
> --------------------------------------------------------------------
>                 Key: ZOOKEEPER-3683
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3683
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Jie Huang
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.6.0
> The RequestThrottler ensures that no requests more than the system can handle be fed
into the request processor pipeline. In the meantime, the throttler queues all incoming requests
and there is nothing to instruct the clients to slow down.
> This new feature will mark all requests that wait in the RequestThrottler longer that
specified throttledOpWaitTime as throttled and such requests will not see any processing other
than being fed down the pipeline preserving the order of all requests.
> The FinalProcessor will issue an error response (new error code: ZTHROTTLEDOP) for these
undigested requests. The intent is for the clients to not retry them immediately.
> Also the fact that throttled requests are unprocessed will speed the entire work of the
pipeline. Throttled requests are not communicated between servers and only travel thru the
server they belong to.

This message was sent by Atlassian Jira

View raw message