Apologies for a "pop up" visit here, I have been AWOL forever, but I think I do know an answer to at least the first question.
Regardless of the server you choose, please be aware they may (though I am pretty sure they all will) all cause issues with your current codebase due to the characteristics of copy-on-write memory optimization. Usually the issues I've seen are with database connections and random seed generators. Most of the libraries you are probably using will support correcting this with specific calls to make after the process forks. If you're using SqlAlchemy, look at Engine.dispose() and most crypto libraries have an `atfork` function.
--
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-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/20f1a129-1853-412b-a707-ebeb11db10e2n%40googlegroups.com.
- What's the recommended modern multiprocess enabled web server to do more scaleable Pyramid hosting?
I like uWSGI, but others like gunicorn and I think there is another popular option.
--
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-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUtMQwaPvG3QdrjGgpt9sB_pHb3ZHzODF_V1TN56T%2BGmOw%40mail.gmail.com.
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-discus...@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.
What is your gunicorn config?
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/BFE62D2E-90DF-432E-80CC-A2235375D89C%40gmail.com.