zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Han (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3180) Add response cache to improve the throughput of read heavy traffic
Date Tue, 23 Oct 2018 23:21:00 GMT

    [ 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)

Mime
View raw message