Jump to: navigation, search

MultiAPIWorkersForNeutron

Revision as of 01:29, 15 August 2013 by Yingjun (talk | contribs) (Created page with " == Summary == Support for multiple api processes for neutron. Blueprint: https://blueprints.launchpad.net/neutron/+spec/multi-workers-for-api-server == Rationale == Curre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Summary

Support for multiple api processes for neutron.

Blueprint: https://blueprints.launchpad.net/neutron/+spec/multi-workers-for-api-server

Rationale

Currently, there is only one process running to handle different requests, that means all green threads are actually being scheduled within one system process, which results in only one processor core can be utilized. As API requests concurrency increase, the throughout doesn't increase because requests pipe-up and the response time of each request increase quickly. Similiar implementation has been added to Nova and others core projects of openstack.

Implementation

All the changes neccessary for multi workers is done through introducing the related multi process codes from nova. And a new option 'api_workers' will be added to the config file to control the processes for neutron-server to be spawned.