You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2018/10/23 23:21:00 UTC

[jira] [Commented] (ZOOKEEPER-3180) Add response cache to improve the throughput of read heavy traffic

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16661452#comment-16661452 ] 

Michael Han commented on ZOOKEEPER-3180:
----------------------------------------

What will be we caching here? Is it the byte buffers that holding the (serialized) response body that going to write out to socket?

> Add response cache to improve the throughput of read heavy traffic 
> -------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3180
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3180
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Fangmin Lv
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> On read heavy use case with large response data size, the serialization of response takes time and added overhead to the GC.
> Add response cache helps improving the throughput we can support, which also reduces the latency in general.
> This Jira is going to implement a LRU cache for the response, which shows some performance gain on some of our production ensembles.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)