You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Billie Rinaldi (Commented) (JIRA)" <ji...@apache.org> on 2012/03/12 20:24:37 UTC

[jira] [Commented] (ACCUMULO-453) Profile and optimize server activity visualization

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

Billie Rinaldi commented on ACCUMULO-453:
-----------------------------------------

I've begun work to switch this over to JSON.  The JSON loading does appear to be faster (perhaps 2x-5x faster than the XML), but the animation speed is still highly variable.  I started recording the time between calls to the redraw function (drawDots), and with Firefox 10.0.2 it varies between 0 and hundreds of milliseconds.  With Chrome it varies less, is usually around 16-18, but is still occasionally in the 30s and very occasionally in the hundreds.  I'm not sure how to proceed.  I may try using the traditional setInterval method instead of requestAnimFrame, but I've read that requestAnimFrame is supposed to be better.

Also, there is some issue that is causing the server information box that displays when you mouseover dots to flash in and out of existence for some mouse positions.
                
> Profile and optimize server activity visualization
> --------------------------------------------------
>
>                 Key: ACCUMULO-453
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-453
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: monitor
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>              Labels: json, visualization
>
> The script reads the monitor xml periodically.  I created a fake xml page with a lot of servers to see how it would work, and it slowed down considerably.  At the very least, it should read the xml less often (perhaps every 5 seconds) and I'd like to lower the memory usage as well.  JSON may be a better alternative.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira