helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei Xia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-559) Helix web admin performance issues
Date Thu, 31 Mar 2016 22:05:25 GMT

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

Lei Xia commented on HELIX-559:
-------------------------------

We are still seeing this issue in our production, it took 40s - 1min to read an resource externalview
from Helix web admin, but it took only 2s to read directly from zk.  I am opening the ticket,
and we need more investigation on this.

> Helix web admin performance issues
> ----------------------------------
>
>                 Key: HELIX-559
>                 URL: https://issues.apache.org/jira/browse/HELIX-559
>             Project: Apache Helix
>          Issue Type: Bug
>    Affects Versions: 0.6.4
>            Reporter: Zhen Zhang
>            Assignee: Zhen Zhang
>             Fix For: 0.6.5
>
>
> Helix web admin has a couple of performance issues:
> - Use restlet default server which is slow
> Need to switch to use jetty
> - Unnecessary json deserialization/serialization
> For reading idealStates from helix web admin, we read as ZNRecord, serialize ZNRecord
to byte arrays, and return the result. It's not necessary to do the der/ser which costs lots
of CPU cycles. Instead, we can read the raw data as byte arrays and return it directly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message