You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/25 10:27:04 UTC

[jira] [Commented] (LIBCLOUD-717) DigitalOcean v2 speed

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

ASF GitHub Bot commented on LIBCLOUD-717:
-----------------------------------------

GitHub user jcastillo2nd opened a pull request:

    https://github.com/apache/libcloud/pull/537

    LIBCLOUD-717 Implement v2 API request speed optimization and other ch…

    …anges
    
    * Increased pagination to API maximum
    * Added create_node parameter to support droplet features (backups, ipv6, user_data, etc )
    * Reorganized method groups for style
    * Converted all list_* to paginated request
    
    In large result sets, the API request was returning the default 25 results per request, making it very slow in large sets.
    
    https://issues.apache.org/jira/browse/LIBCLOUD-717
    
    I have some doubts about the ex_create_attr, but this was done to support selecting features. The prior parameter for ssh key selection/assignment was kept, but updated to throw a deprecation warning.
    
    I've also added an example of how the create_node is called with the options.
    
    I'm not sure about the rest documentation of the ex_create_attr dictionary values, but I look foward to the review.

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

    $ git pull https://github.com/jcastillo2nd/libcloud trunk

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

    https://github.com/apache/libcloud/pull/537.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 #537
    
----
commit 02a4177ce0ee357550e9c79f6cf80eb26d73f76a
Author: jcastillo2nd <j....@gmail.com>
Date:   2015-06-25T07:31:38Z

    LIBCLOUD-717 Implement v2 API request speed optimization and other changes
    * Increased pagination to API maximum
    * Added create_node parameter to support droplet features (backups, ipv6, user_data, etc )
    * Reorganized method groups for style
    * Converted all list_* to paginated request

----


> DigitalOcean v2 speed
> ---------------------
>
>                 Key: LIBCLOUD-717
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-717
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>            Reporter: Javier Castillo II
>            Priority: Minor
>              Labels: easyfix
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> DigitalOcean v2 driver in 0.17 dev takes a while to complete.
> This appears to be due to the default response items set size in the API requests. It uses pagination which the driver accounts for, but doesn't support increasing the response items set size.



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