[
https://issues.apache.org/jira/browse/LIBCLOUD-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261472#comment-14261472
]
Eric Johnson commented on LIBCLOUD-527:
---------------------------------------
Hi Russell,
I'm going through the backlog of google issues and after looking this over, I
think there's likely still work left here even though
https://github.com/apache/libcloud/pull/267 has been closed.
The code and GCE features have changed a bit since you first looked at this,
but I'll keep it open until I can take a closer look. Let me know if you have
other ideas based on current state of code.
Thanks!
Eric
> GCE Libcloud Driver list_nodes and list_volumes Scaling Improvement
> -------------------------------------------------------------------
>
> Key: LIBCLOUD-527
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-527
> Project: Libcloud
> Issue Type: Improvement
> Affects Versions: 0.14.0-beta3
> Reporter: Russell Alexander Spitzer
> Assignee: Eric Johnson
> Labels: Google
>
> The current code for the GCE Driver has two significant bottle necks in the
> list_nodes and list_volumes code. In both cases the slowdown can be traced to
> the response to object methods _to_node and _to_storage_volume. These methods
> are called in serial from both list_node and list_volume methods and each
> call to one of these methods requires an additional http request. For
> list_nodes the price is doubled since each _to_node request requires a
> _to_storage_volume request.
> Basically, list_nodes and list_volumes require 1 + 2 * Nodes and 1 + Volumes
> requests to complete. I've found that at large numbers of nodes this is a
> considerable pain point.
> I've been working on a branch at
> https://github.com/RussellSpitzer/libcloud/tree/GCE_perf_to_node
> that I would be happy to contribute upstream if there is any desire for it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)