I was wondering what is the best way to have connection pooling to reduce network latency. Cassandra and PHP application are running on a different node. I am using PDO::ATTR_PERSISTENT => true right now. It still takes around 150ms to create a PDO connection every single time.
Any advice to reduce this time?
I was wondering what is the best way to have connection pooling to reduce network latency. Cassandra and PHP application are running on a different node. I am using
PDO::ATTR_PERSISTENT => true
right now. It still takes around 150ms to create a PDO connection every single time. Any advice to reduce this time?