Hacker News new | past | comments | ask | show | jobs | submit login

Nothing, but the 2 parent comments both make strange statements which leads me to believe there is a misunderstanding.

> If you are containerizing your stateless app, where do you store the connection pool? I suppose you could setup another container as a TCP proxy that can maintain persistent connections and then connect to redis through the proxy?

Containerizing doesn't prevent you from having a connection pool, but PHP doesn't allow you to have a proper connection pool regardless. I believe there is a misunderstanding on containers here.

> What do you mean by "containerizing"? Unless you restart app instances for every single request, I don't see how connection pooling is an issue. Just putting a worker in a container doesn't stop it from keeping a connection open.

This comment corrects the misconception about "containerizing", but then overlooks that PHP is effectively restarted per request.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: