> On 17. Sep 2019, at 22:13, Alexander Mills <[email protected]> 
> wrote:
> 
> @hynek you are not using 1 process per container.

Eh, yes it’s true that I run actually two: the gunicorn master and one child 
process as worker.  Conceptually I think of it as one, because only one process 
of my app is running at a time and the supervising process enables some of the 
features I’ve mentioned. The fact that gunicorn actually starts another one 
seems like an uninteresting implementation detail to me.

> You are using gunicorn or haproxy instead of the container and those talk to 
> python?

Our apps run in a Docker containers in a Nomad cluster in a private network 
with an HAProxy edge proxy that discovers them using Consul and exposes them to 
the Internet / internal users.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/ACD162DF-F776-42B6-9628-618D72BE9CF1%40ox.cx.

Reply via email to