[MaxX]
7-4-05, 02:11 PM
Hello,
Well today I tried the load balancing code I found in another thread to overcome the 75k (right?) SELECT queries per hour per user limit. I had major problems with that today, with just ~200 users or so on my website. I was very disappointed with the limits..
Is mambo inefficient? What cms produces least amount of queries.
Also I tried following code in mambo to distribute load randomly between 3 users. I think it is correct. (config.php)
#$mosConfig_user = 'user'
$db_user_array[] = "user1"; //enter 1st user name
$db_user_array[] = "user2"; //enter 2nd user name
$db_user_array[] = "user3"; //enter 3rd user name
$mosConfig_user = $db_user_array[ rand( 0, ( sizeof($db_user_array) -1 ) ) ];
First of all is it compulsory to comment out original db code? That might cause problems in auto config as it cant find the field. All db's have same pass. Should the db users array have single quotes? It was double quotes in the thread I saw.
Anyway after I tried this, mysql server got slow down problems, although it became fine on itself. Now im wondering if that is a coincidence or what. Is it possible to give me only 1 user per db and give 216k requests per hour on that.
Should I try it again?
Thanks
Well today I tried the load balancing code I found in another thread to overcome the 75k (right?) SELECT queries per hour per user limit. I had major problems with that today, with just ~200 users or so on my website. I was very disappointed with the limits..
Is mambo inefficient? What cms produces least amount of queries.
Also I tried following code in mambo to distribute load randomly between 3 users. I think it is correct. (config.php)
#$mosConfig_user = 'user'
$db_user_array[] = "user1"; //enter 1st user name
$db_user_array[] = "user2"; //enter 2nd user name
$db_user_array[] = "user3"; //enter 3rd user name
$mosConfig_user = $db_user_array[ rand( 0, ( sizeof($db_user_array) -1 ) ) ];
First of all is it compulsory to comment out original db code? That might cause problems in auto config as it cant find the field. All db's have same pass. Should the db users array have single quotes? It was double quotes in the thread I saw.
Anyway after I tried this, mysql server got slow down problems, although it became fine on itself. Now im wondering if that is a coincidence or what. Is it possible to give me only 1 user per db and give 216k requests per hour on that.
Should I try it again?
Thanks