You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Tomaz Muraus (JIRA)" <ji...@apache.org> on 2011/09/22 10:41:26 UTC

[dev] [jira] [Created] (LIBCLOUD-113) Node object should have an 'image' attribute

Node object should have an 'image' attribute
--------------------------------------------

                 Key: LIBCLOUD-113
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-113
             Project: Libcloud
          Issue Type: Improvement
          Components: Compute
            Reporter: Tomaz Muraus
            Priority: Minor


Node object should have an 'image' attribute which references the corresponding NodeImage object.

- need to check if majority of the APIs return info which is needed to do this in list_nodes call.
- need to evaluate the performance impact (in the best case without caching this means 1 extra request for each list_nodes call).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-113) Node object should have an 'image' attribute

Posted by "Mike Nerone (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112684#comment-13112684 ] 

Mike Nerone commented on LIBCLOUD-113:
--------------------------------------

Ah, I see what you have in mind. Sweet!

> Node object should have an 'image' attribute
> --------------------------------------------
>
>                 Key: LIBCLOUD-113
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-113
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Tomaz Muraus
>            Priority: Minor
>              Labels: compute, image, node
>
> Node object should have an 'image' attribute which references the corresponding NodeImage object.
> - need to check if majority of the APIs return info which is needed to do this in list_nodes call.
> - need to evaluate the performance impact (in the best case without caching this means 1 extra request for each list_nodes call).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-113) Node object should have an 'image' attribute

Posted by "Mike Nerone (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112671#comment-13112671 ] 

Mike Nerone commented on LIBCLOUD-113:
--------------------------------------

Perhaps a property to make the request lazily?

> Node object should have an 'image' attribute
> --------------------------------------------
>
>                 Key: LIBCLOUD-113
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-113
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Tomaz Muraus
>            Priority: Minor
>              Labels: compute, image, node
>
> Node object should have an 'image' attribute which references the corresponding NodeImage object.
> - need to check if majority of the APIs return info which is needed to do this in list_nodes call.
> - need to evaluate the performance impact (in the best case without caching this means 1 extra request for each list_nodes call).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Closed] (LIBCLOUD-113) Node object should have an 'image' attribute

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus closed LIBCLOUD-113.
---------------------------------

    Resolution: Fixed
    
> Node object should have an 'image' attribute
> --------------------------------------------
>
>                 Key: LIBCLOUD-113
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-113
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Tomaz Muraus
>            Priority: Minor
>              Labels: compute, image, node
>
> Node object should have an 'image' attribute which references the corresponding NodeImage object.
> - need to check if majority of the APIs return info which is needed to do this in list_nodes call.
> - need to evaluate the performance impact (in the best case without caching this means 1 extra request for each list_nodes call).

--
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

        

[dev] [jira] [Commented] (LIBCLOUD-113) Node object should have an 'image' attribute

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112679#comment-13112679 ] 

Tomaz Muraus commented on LIBCLOUD-113:
---------------------------------------

This would actually make the average case worse :)

If we would implement it using "lazy property" it would result in an extra request every time you access it on a different node object. If we did it in list_nodes it would only result in a single extra request (retrieve all the nodes, retrieve all the images, set image property on all the retrieved nodes).

We could solve this problem using per-object cache, but not sure if we want to do that.

> Node object should have an 'image' attribute
> --------------------------------------------
>
>                 Key: LIBCLOUD-113
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-113
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Tomaz Muraus
>            Priority: Minor
>              Labels: compute, image, node
>
> Node object should have an 'image' attribute which references the corresponding NodeImage object.
> - need to check if majority of the APIs return info which is needed to do this in list_nodes call.
> - need to evaluate the performance impact (in the best case without caching this means 1 extra request for each list_nodes call).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira