Hi,
> What is your gunicorn config? > The config is below. Just to clarify, the performance issues (latency) were with Waitress and now after switching to gunicorn all the issues have pretty much disappeared. gunicorn \ --name backend \ --bind 127.0.0.1:3456 \ --workers 8 \ --threads 2 \ --env "SCRIPT_NAME=/api" \ --statsd-host "localhost:8125" \ --access-logfile logs/gunicorn_access.log \ --error-logfile logs/gunicorn_error.log \ "backend.server.server:gunicorn_entry_point()" > > > On May 23, 2022, at 04:52, Mikko Ohtamaa <mi...@redinnovation.com> wrote: > > > Hi all, > > Thank you for your kind support. > > We have been running a Gunicorn for half a week now and you can clearly > where we switched over, as the request latency is much more stable none. We > also managed to solve all configure problems with Gunicorn thanks to your > kind help. > > Backend latency: > > <image.png> > > Even PostgreSQL latency is more controlled now, don't though not sure if I > understand why - probably something to do with PSQL, Waitress, psycopg2 and > SQLAlchemy connection pooling. > > <image.png> > > > > Br, > Mikko > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pylons-discuss+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUvVk43R8HCnDvWWipi3%3D54hKbF%3DjnDosMP%3D%3DTNS%3D2JN-g%40mail.gmail.com > <https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUvVk43R8HCnDvWWipi3%3D54hKbF%3DjnDosMP%3D%3DTNS%3D2JN-g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pylons-discuss+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/BFE62D2E-90DF-432E-80CC-A2235375D89C%40gmail.com > <https://groups.google.com/d/msgid/pylons-discuss/BFE62D2E-90DF-432E-80CC-A2235375D89C%40gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUuX40NcPtkU%2BW%3DU9H504Re0_qJsJnLFtLqq7YORGJR3wQ%40mail.gmail.com.