← Back to context

Comment by tredre3

3 hours ago

> PHP runs a separate logical process on every request which can't share resources with any other request.

PHP allows persistent connections to postgres that will be reused by subsequent requests. But of course the connection isn't shared by concurrent requests (unless you use Swoole), so it doesn't solve the process-per-connection on postgres' side, it merely saves some overhead.