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

ASF GitHub Bot commented on CLOUDSTACK-9783:
--------------------------------------------

GitHub user rhtyd opened a pull request:

    https://github.com/apache/cloudstack/pull/1944

    CLOUDSTACK-9783: Improve metrics view performance

    This improves the metrics view feature by improving the rendering 
performance
    of metrics view tables, by re-implementing the logic at the backend and data
    served via APIs. In large environments, the older implementation would
    make several API calls that increases both network and database load.
    
    List of APIs introduced for improving the performance that re-implement the 
frontend logic at backend:
    
        listClustersMetrics
        listHostsMetrics
        listInfrastructure
        listStoragePoolsMetrics
        listVMsMetrics
        listVolumesMetrics
        listZonesMetrics
    
    Pinging for review - @abhinandanprateek @DaanHoogland @borisstoyanov 
@karuturi @rashmidixit 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shapeblue/cloudstack 4.9-metrics-enhancement

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1944.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1944
    
----
commit 3aba6ad6c095c066ab0334c8a48565741b2913fe
Author: Rohit Yadav <rohit.ya...@shapeblue.com>
Date:   2017-02-16T08:15:15Z

    CLOUDSTACK-9783: Improve metrics view performance
    
    This improves the metrics view feature by improving the rendering 
performance
    of metrics view tables, by reimplementing the logic at the backend and data
    served via APIs. In large environments, the older implementation would
    make several API calls that increases both network and database load.
    
    List of APIs introduced for improving the performance:
    
        listClustersMetrics
        listHostsMetrics
        listInfrastructure
        listStoragePoolsMetrics
        listVMsMetrics
        listVolumesMetrics
        listZonesMetrics
    
    Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>

----


> Improve metrics view performance
> --------------------------------
>
>                 Key: CLOUDSTACK-9783
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9783
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>             Fix For: Future, 4.10.0.0, 4.9.3.0
>
>
> Metrics view is a pure frontend feature, where several API calls are made to 
> generate the metrics view tabular data. In very large environments, rendering 
> of these tables can take a lot of time, especially when there is high 
> latency. The improvement task is to reimplement this feature by moving the 
> logic to backend so metrics calculations happen at the backend and final 
> result can be served by a single API request.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to