One of the parameters in the CodeIgniter database config is the following
['pconnect'] TRUE/FALSE - Whether to use a persistent connection
What do you recommend I set this to?
Is there a significant performance hit if I set it to FALSE?
What potential problems might arise from setting it to TRUE?
Just look up general best practices for persistent connections. My suggestions.
CONSIDER turning it on
Persistent connections can cause
But CAN
If you think that connection latency is causing a problem, consider turning it on in your performance test system and measuring the impact.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With