Welcome Guest, Not a member yet? Register   Sign In
Auto Load Model
#4

[eluser]PhilTem[/eluser]
It's not easy to answer, but let's state it like this: If you're running on an old machine and autoload 10 models, 10 libraries, 10 configs, and 10 helpers, it will slow down the webserver thus taking longer to create the page plus you will have less memory available for further requests on your server at the same time.
However, if you're running on a rather new machine with some 2GB of RAM it might not be that horrible to autoload many models, libs, ....
Though anyway it is better to load models on a load-when-needed paradigm. Makes your code run faster plus it's just more intuitive, that you load stuff only when you need it thus keeping resources available for other tasks Wink


Messages In This Thread
Auto Load Model - by El Forum - 09-16-2012, 02:54 AM
Auto Load Model - by El Forum - 09-16-2012, 08:56 AM
Auto Load Model - by El Forum - 09-16-2012, 09:04 AM
Auto Load Model - by El Forum - 09-16-2012, 10:22 AM
Auto Load Model - by El Forum - 09-16-2012, 10:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB