Log in

View Full Version : Hacks and server load


Konstantinos
07-09-2010, 04:15 PM
if for example i restrict hacks to certain usergroups either from the hack options of from conditionals in templates does this reduce cpu and ram resources? or in order to reduce server load i have to disable them completely ?

James Birkett
07-09-2010, 04:34 PM
If you reduce it to certain usergroups only, it will run a conditional statement, something like:
if(is_member_of($bbuserinfo, X, Y, Z)){
It will reduce your CPU usage because the whole code isn't running (not all users will match the condition)... but if your allowed usergroups are using the hacks frequently it'll increase server load because of how frequent they're being used.

BirdOPrey5
07-10-2010, 05:01 PM
It would depend on the hack... in general limiting it to fewer usergroups saves cpu usage but it may be so slight that it isn't worth it.