Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-357

ComputeService.listnodes() in the case of softlayer cloud takes about 2 minutes for cloud with only 3 machines

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 1.5.10, 1.6.2
    • None
    • jclouds-compute
    • Windows 7 64-bit

    Description

      The significant delay is on the following call: method apply(VirtualGuest) of
      org.jclouds.softlayer.compute.functions.VirtualGuestToNodeMetadata
      findLocationForVirtualGuest.apply(from).
      If I removes in above calling initializing location within builder then it improves performance dramatically: instead of 2 minutes it takes now about 12 seconds in order to bring 3 nodes..
      Performance is improved as well if in addition to location the following fields of builder are not initialized: operatingSystem, hardware, group.
      I think initializing of of these builder fields should be optional, since like in my case I need only id, hostname, public IP and private ip.
      I'm aware that next calls will go to cache and will have much better performance, but I need good performance already during first call.

      Attachments

        Activity

          People

            Unassigned Unassigned
            evgenyf Evgeny Fisher
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: