multi workers for api server

Registered by Liyingjun on 2013-07-02

Currently, there is only one pid running for quantum-server. It is not enough when undering lots of API access.
So multiple workers for quantum-server are ugrent necessary.
To use multiple processes by changing a flag in the configuration file - allowing to share work between multiple cores on the one machine.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Low
Drafter:
Liyingjun
Direction:
Approved
Assignee:
Carl Baldwin
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Liyingjun on 2013-07-10
Completed by
Liyingjun on 2013-12-05

Related branches

Sprints

Whiteboard

Addressed by: https://review.openstack.org/37131
    Creates multiple worker processes for API server.

 Status: Merged in Icehouse-1

Is there potential to backport this to Havana?

The solution provides the option of running in single-threaded mode to ensure that debugging is still possible. This is the default.

See https://bugs.launchpad.net/neutron/+bug/1214115
Just an FYI, there is a race condition that needs to be fixed when allocating IPs across multiple neutron-servers. The ipavailabilityranges updates key off of a first_ip and last_ip. If two allocation requests are made on the same ip availability range one of the UPDATEs to the db will fail. --geekinutah

Gerrit topic: https://review.openstack.org/#q,topic:bp/multi-workers-for-api-server,n,z

Addressed by: https://review.openstack.org/60082
    Creates multiple worker processes for API server

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.