You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Lei Xia (JIRA)" <ji...@apache.org> on 2016/04/01 00:05:25 UTC

[jira] [Commented] (HELIX-559) Helix web admin performance issues

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