Configurable number of Glance api processes

Registered by tim reddin

The Glance API server currently starts a wsgi server on a green thread per request. This appears to limit the processing capability of the Glance API server to a single CPU. Under heavy load this can make Glance appear un-responsive. This is especially noticeable when using SSL, where a single thread can use 100% CPU for encryption and compression processing.

We propose to add multi-process support by starting up a configurable number of processes each listening on the Glance server port.

Blueprint information

Status:
Complete
Approver:
Jay Pipes
Priority:
High
Drafter:
Stuart McLaren
Direction:
Approved
Assignee:
Stuart McLaren
Definition:
Approved
Series goal:
Accepted for essex
Implementation:
Implemented
Milestone target:
milestone icon 2012.1
Started by
Jay Pipes
Completed by
Jay Pipes

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/2486
    Multi-process Glance API server support.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.