deb-keystone/httpd/keystone-uwsgi-public.ini
Brant Knudson d03ed967dd Keystone uwsgi performance tuning
I ran some tests locally that showed that when using the uwsgi
deploy the keystone server wasn't using all the processes
available. When I switched from "threads" to "processes" the
concurrent performance improved considerably. So I'm proposing
that the docs use processes to improve performance.

Change-Id: I5375702f45ccb82c02ff2bba1eabda836d5d25eb
2016-06-05 18:47:30 -05:00

23 lines
526 B
INI

[uwsgi]
wsgi-file = /usr/local/bin/keystone-wsgi-public
# Versions of mod_proxy_uwsgi>=2.0.6 should use a UNIX socket, see
# http://uwsgi-docs.readthedocs.org/en/latest/Apache.html#mod-proxy-uwsgi
uwsgi-socket = 127.0.0.1:5001
# Override the default size for headers from the 4k default.
buffer-size = 65535
# This is running standalone
master = true
enable-threads = true
# Tune this to your environment.
processes = 4
# uwsgi recommends this to prevent thundering herd on accept.
thunder-lock = true
plugins = python