Too Much Relations Could Make The Server Slow?
Posted 19 May 2013 - 11:32 AM
Posted 20 May 2013 - 02:45 AM
see this http://www.yiiframew...ics.performance
Posted 21 May 2013 - 05:57 AM
Except the advices of @jneto and @fburhan89 I question you ...
1) Is it nessesary this task to completed on one request?
2) This task must be done on every request ?
3) May be have to thing a cron job task every certainly time or using Yii cashing system
Post more specific details
find our demo Yii extension on www.webkit.gr
Is it post useful? please v++ ;)
Posted 21 May 2013 - 12:14 PM
Personally I do not think that relations are making things slower unless the requests themselves are not efficient.
I noticed recently that setting up behaviors is slow (see http://www.yiiframew...post__p__204540 for a workaround) and to find what is slow for you, profiling may help you to the anwser.
Posted 22 May 2013 - 11:35 AM