Hey, On 29.04.24 7:20 AM, Takashi Kajinami wrote:
One of the core implementation which heavily depends on eventlet is WSGI server. Multiple projects have been providing the -api console scripts (eg nova-api) based on the oslo.service's WSGI server implementation which depends on eventlet.
On the other hand, nowadays we have multiple methods to launch api services, such as httpd+mod_wsgi, uwsgi and gunicorn. And a few projects in OpenStack don't provide the -api console script (eg. aodh, barbican and placement) but suggest using these external frameworks to run their api WSGI application. I know that multiple deployment tools (for example TripleO in the past) and some distros (Debian) already started using the external framework for consistency, better concurrency and so on.
Yes please! Apart from having the ability to use one "style" of configuration, having all components / projects uni-formally use in e.g. Gunicorn allows for much better consistency in all of them operational aspects: (Request) logging, extracting metrics regarding e.g. number of workers, their status and utilization, memory usage, latency of requests, .... Not to mention more deep-dive debugging of requests and tracing. Regards Christian