PHP:PDO connection pool with Postgresql, what to use?

Asked

Viewed 227 times

0

Thinking about the following scheme:
Linux Server (may be Ubuntu Server) +
PHP using PDO +
Postgresql +
Apache HTTP server +
Some pool of connection

I would like some pool tip (that is reliable) to manage connections to the database. I don’t know if PDO handles as well as a connection POOL.

Grateful from now on!

  • PDO handles data connections optimally

  • Right, but imagine a number of 500 simultaneous connections. Wouldn’t it be better to use a pool to manage that? @Armandomarquessobrinho

  • face, first, the connection pools are from the database layer, therefore, it will have to be configured in db, dai, as Voce specified Postgresql either makes Voce use PDO or pg_conect because its dabase is who is providing the pool, I, note well, never abondanaria o PDO, is much more versatile

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.