helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhen Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-559) Helix web admin performance issues
Date Fri, 12 Dec 2014 00:09:13 GMT

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

Zhen Zhang commented on HELIX-559:
----------------------------------

https://reviews.apache.org/r/28974/diff/#

> Helix web admin performance issues
> ----------------------------------
>
>                 Key: HELIX-559
>                 URL: https://issues.apache.org/jira/browse/HELIX-559
>             Project: Apache Helix
>          Issue Type: Bug
>            Reporter: Zhen Zhang
>            Assignee: Zhen Zhang
>
> 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