You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/01 15:52:18 UTC

[jira] [Commented] (CLOUDSTACK-9298) Improve performance of resource retrieval that have tags associated and target volumes, VMs and templates

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

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

Github user nvazquez commented on the pull request:

    https://github.com/apache/cloudstack/pull/1425#issuecomment-190753666
  
    Hi @rafaelweingartner,
    
    Sure, I changed it to a method and added javadoc to it.
    
    I added the new constructor at <code>ResourceTagJoinVO</code> to set all that fields in a single call instead of many setter methods. Which way could be better?
    
    Yes, I tested <code>template_view</code> and it retrieves data.
    
    Thanks,
    Nicolas


> Improve performance of resource retrieval that have tags associated and target volumes, VMs and templates
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9298
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9298
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.9.0
>            Reporter: Nicolas Vazquez
>             Fix For: 4.9.0
>
>
> h2. Description of the problem
> When retrieving a large number of resources which have tags associated with, retrieval methods took too long. Our goal is to improve performance of this methods
> h3. ListTemplatesCmd API method
> It is proposed to include tags information into template_view to avoid querying the database for each tag, managing that information in memory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)