joethong
09-09-2002, 03:06 PM
Hi,
I'm hosting a big site, they have an average of 6000-7000 pageviews per day. Although they're not using a lot of our cpu resources, I'd like to clarify something first. Does pconnect reduce the server load? or normal connect is better?
Thanks in advance.
Joe
whctrlpanel
09-09-2002, 03:28 PM
pconnect is less security concious. unless you have each an every user of the site log on then you need to use regular connect....
mind21_98
09-09-2002, 07:17 PM
pconnect usually has less overhead because it uses an already opened connection, if there's any. The server load should be reduced because fewer connections per minute are made to the MySQL server. :)
serambin
09-10-2002, 01:51 PM
Yes, it does reduce connection load, but it maintains more connections at a given time. For example if a user logs in and goes to a text page where he will read a tutorial, he may not require an active connection for ten minutes while he reads the text. If the total number of connections are say 300, he is using a slot for the whole ten minutes.
So persistant connections do have overhead as well. It just depends on your site needs.
Stan