Hi, I have this question in my mind and have been searching for its solution for days. A forum (developed in PHP/Mysql) which gets 10,000 hits per day. Which of the following connection would be most appropriate for such a high traffic forum Or it does not matter which ever is being used? mysql_connect() or mysql_pconnect() Code (markup): Also, will it matter if the forum is not made using objects and classes?
Using mysql_pconnect() you can get additional problems. Use it only if you exactly know why you want to use it.
Hits are largely irrelevant here. You really need to be looking at page views. One of my sites gets around 500,000 pageviews a month and I use the mysql_connect() without any problems.