> we dont really use the tls functionality for devstack we genreally do the tls
termination with apache today 

Well, uwsgi is being also used in real world deployments as of today since ppl tend to use in production smth that is tested in a best possible way. So if we're switching to smth we should consider needs of real deployments as well.
But yeah, gunicorn looks good to me


вт, 21 февр. 2023 г., 19:35 Sean Mooney <smooney@redhat.com>:
On Tue, 2023-02-21 at 19:17 +0100, Dmitriy Rabotyagov wrote:
> I kind of wonder what alternatives we have, except mod_wsgi and gunicorn?
>
> As I'm not sure about easy way to adopt CherryPy (or CherryRoot) for
> instance.
>
https://gunicorn.org/ apache mod_wsgi and  just using the eventlet webserver
are the 3 main ones.
gunicorn has native supprot for eventlets by the way althoug it can use gevent too.
https://docs.gunicorn.org/en/latest/install.html#async-workers

> One of obvious requirements for any replacement would be support of TLS.
we dont really use the tls functionality for devstack we genreally do the tls
termination with apache today if im not mistaken gunicorn has ssl support too.
https://docs.gunicorn.org/en/latest/settings.html#ssl

barbican apprenly already can run in gunicorn so i think that is worth looking at as
one replacement as an alternitive to mod_wsgi.

> Another tricky thing I can think about is handling chunking properly.
>
>
> вт, 21 февр. 2023 г., 18:07 Jeremy Stanley <fungi@yuggoth.org>:
>
> > On 2023-02-22 01:12:05 +0900 (+0900), Takashi Kajinami wrote:
> > > I happened to notice that uwsgi announced it's now in maintenance mode.
> > > https://github.com/unbit/uwsgi/blame/master/README#L5
> > >
> > > Is anybody aware of this ?
> > [...]
> >
> > It looks like there are some additional details here:
> >
> > https://github.com/unbit/uwsgi/issues/2407
> >
> > --
> > Jeremy Stanley
> >