Orange-OpenSource / YACassandraPDO

Cassandra PDO Driver fork
Apache License 2.0
85 stars 32 forks source link

PDO connection pool #73

Open chartotu19 opened 9 years ago

chartotu19 commented 9 years ago

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?