]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Change metadata-agent to spawn multiple workers
authorBrian Haley <brian.haley@hp.com>
Thu, 30 Jan 2014 19:39:47 +0000 (14:39 -0500)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:12 +0000 (15:20 +0800)
commit8f9787ce8cb275f61e10b8a1aa5ce95b3bf76359
tree3f6f1664bf34fd472e0c24c67c3309140650e511
parent2082aa63d2736a02a1d5877d88c8cc5541a4b264
Change metadata-agent to spawn multiple workers

There is currently only one metadata-agent per network node,
which could be handling connections from hundreds or thousands
of metadata-namespace-proxy processes.

This change addes a new "metadata_workers = XX" to the ini file
to support creating more workers to help improve performance.

Change-Id: Ib9ebcfc543a83982dd93db79c7dc631283fd3bfa
Partial-bug: #1274536
etc/metadata_agent.ini
neutron/agent/metadata/agent.py
neutron/tests/unit/test_metadata_agent.py