diff options
| author | Jesse Andrews <anotherjesse@gmail.com> | 2012-03-07 13:05:28 -0800 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-03-12 12:37:31 -0700 |
| commit | 1bcf5f5431d3c9620596f5329d7654872235c7ee (patch) | |
| tree | 3934fccd4a4fd943a1df72a673e11420d31f519d /nova/openstack | |
| parent | 43b95ca29ec5ad318c771d03d151a9425e138cec (diff) | |
| download | nova-1bcf5f5431d3c9620596f5329d7654872235c7ee.tar.gz nova-1bcf5f5431d3c9620596f5329d7654872235c7ee.tar.xz nova-1bcf5f5431d3c9620596f5329d7654872235c7ee.zip | |
improve speed of metadata
* don't load every possible answer, only do what is needed
* cache instance data for a given address for a 15 seconds
using either memcache or fake memcache (in-memory).
This means only a single queue/db lookup for multiple calls
to metadata service
* add cache expirey to fake memcache (don't grow forever)
and move it to nova.common.memorycache
Addresses Bug #851159
Change-Id: Icf794156e055b18915b8b5be9ba2ab97d2338bbe
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
