Welcome Guest, Not a member yet? Register   Sign In
Connection persistent or not?
#1

[eluser]tnathos[/eluser]
Hi, in my proyect i hope revice more or less 10.000 visits in one day.. my question is how codeigniter handled the connection to de database, if whit the setup default all works fine or i need some changes....

Thanks
#2

[eluser]Sbioko[/eluser]
If you have own VDS(or maybe VPS) you better change it to persistent mysql connection. If you have shared hosting, then turn it off.

Vadim
#3

[eluser]tnathos[/eluser]
thanks in this moment i have a shared hosting.. so i dont make any change? sorry but my english its not good.
#4

[eluser]Sbioko[/eluser]
It's okay. No, you don't need to make changes.
#5

[eluser]tnathos[/eluser]
thanks for the advice.!
#6

[eluser]Sbioko[/eluser]
Glad to help!

Vadim
#7

[eluser]n0xie[/eluser]
If you run mysql in combination with apache, turn persistent connection off, unless you optimized apache yourself. Apache's default configuration doesn't work correctly with mysql persistent connections.
#8

[eluser]tnathos[/eluser]
aaaa ok so its better change de setup for persistent connection rigth?
#9

[eluser]n0xie[/eluser]
Yes.
#10

[eluser]tnathos[/eluser]
i am crazy whit this.. if i turn off the persisten.. the performance for the apache its down? i using in this moment sharing hosting..




Theme © iAndrew 2016 - Forum software by © MyBB