Comment 11 for bug 1479090

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/207997
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=31ca9f3ffc0f4e3457595970d3e2f532526b704c
Submitter: Jenkins
Branch: master

commit 31ca9f3ffc0f4e3457595970d3e2f532526b704c
Author: Igor Kalnitsky <email address hidden>
Date: Fri Jul 31 18:10:49 2015 +0300

    Decrease amount of 'get_node_networks` calls

    We had a lot of 'get_node_networks' calls for the same node. This
    function call is too expensive and takes a lot of time. It cause some
    serious problems on scale, since its call number was increasing with
    a progression. Since now, it's predictable and takes only 3 * N times.

    Here's the quick comparison:

      NODES | WAS | NOW
      ----------------
        6 | 216 | 18 // was: 6.88s, now: 0.62s
        5 | 155 | 15
        4 | 104 | 12
        3 | 63 | 9

    Partial-Bug: #1479090

    Change-Id: Ia8ea44149fbb3c90aa015ad5ac0f03f4cd9d33ec
    Signed-off-by: Igor Kalnitsky <email address hidden>