cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9783) Improve metrics view performance
Date Wed, 01 Mar 2017 05:43:45 GMT

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

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

GitHub user rhtyd reopened 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

    
    Marvin test results:
    
    === TestName: test_list_clusters_metrics | Status : SUCCESS ===
    
    === TestName: test_list_hosts_metrics | Status : SUCCESS ===
    
    === TestName: test_list_infrastructure_metrics | Status : SUCCESS ===
    
    === TestName: test_list_pstorage_metrics | Status : SUCCESS ===
    
    === TestName: test_list_vms_metrics | Status : SUCCESS ===
    
    === TestName: test_list_volumes_metrics | Status : SUCCESS ===
    
    === TestName: test_list_zones_metrics | Status : SUCCESS ===

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 402253504e9520104caf9fbc1317042f2fd89474
Author: Rohit Yadav <rohit.yadav@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.yadav@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)

Mime
View raw message