summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2013-01-30 16:23:04 -0800
committerVishvananda Ishaya <vishvananda@gmail.com>2013-02-02 08:47:45 -0800
commit655ae2e9394dd91e70a52cc504dfab8f4431e2fa (patch)
treee5ed8f65f2c288b5a4ea0b3e97e24d398a7eaf8a /nova/exception.py
parent922f81c18bfbfd3ca8a0b5b1edf59723f7d366af (diff)
downloadnova-655ae2e9394dd91e70a52cc504dfab8f4431e2fa.tar.gz
nova-655ae2e9394dd91e70a52cc504dfab8f4431e2fa.tar.xz
nova-655ae2e9394dd91e70a52cc504dfab8f4431e2fa.zip
Optimize floating ip list to make one db query
Currently the floating ip code will make 2 db queries for every single associated floating ip when list is called. This adds a couple of joins in the db layer to avoid having to make so many calls. This dramatically improves floating-ip-list. On a simple one node test the time dropped from 2.35 seconds down to 0.5 seconds for a list with 10 associated floating ips. Part of blueprint optimize-nova-network Change-Id: I0571013393b2dbad42c15e690c7783d5ceecaeb2
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions