Currently the main way people pass traffic off to multi-process workers (Think Python gunicorn, Ruby unicorn/puma) is to use something like FPM or simple reverse proxying.
I’m thinking about having a plugin that works more like Phusion Passenger. But instead of depending on apache or nginx, we can use Caddy.
Some advantages:
Goroutines to handle each worker PID.
Expose metrics about each worker
Provide output buffering
Layer-7 balance requests, rather than connections.
Simplifies container deployments (Caddy is PID 1)
Anyone else thought about this? Think it’s a good/bad idea?