Re: [pylons-discuss] Questions about DB engine setup

2019-05-01 Thread Zsolt Ero
Thanks for the answers. I've been using gunicorn with sync workers and it seems clear to me. If I understand correctly, up-till-some-point, everything in the script is shared across the processes, and these receive identical ids in Python. Everything which happens at import time is definitely in

Re: [pylons-discuss] Questions about DB engine setup

2019-05-01 Thread Jonathan Vanasco
> As I understand each worker needs it's own engine instance, don't they? I think the gunicorn behaviour is good, but I'm puzzled by the pserve/Waitress behaviour. Is this by design? Just to expand on Michael's comment on there usually only being one engine but multiple connections...